Code Cleanup: spelling
This commit is contained in:
@@ -157,7 +157,7 @@ static void rna_DynamicPaintSurfaces_changeFormat(Main *bmain, Scene *scene, Poi
|
|||||||
rna_DynamicPaintSurface_reset(bmain, scene, ptr);
|
rna_DynamicPaintSurface_reset(bmain, scene, ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void rna_DynamicPaint_resetDependancy(Main *bmain, Scene *scene, PointerRNA *ptr)
|
static void rna_DynamicPaint_reset_dependency(Main *bmain, Scene *scene, PointerRNA *ptr)
|
||||||
{
|
{
|
||||||
rna_DynamicPaintSurface_reset(bmain, scene, ptr);
|
rna_DynamicPaintSurface_reset(bmain, scene, ptr);
|
||||||
DAG_relations_tag_update(bmain);
|
DAG_relations_tag_update(bmain);
|
||||||
@@ -427,7 +427,7 @@ static void rna_def_canvas_surface(BlenderRNA *brna)
|
|||||||
RNA_def_property_struct_type(prop, "Group");
|
RNA_def_property_struct_type(prop, "Group");
|
||||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||||
RNA_def_property_ui_text(prop, "Brush Group", "Only use brush objects from this group");
|
RNA_def_property_ui_text(prop, "Brush Group", "Only use brush objects from this group");
|
||||||
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_DynamicPaint_resetDependancy");
|
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_DynamicPaint_reset_dependency");
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -965,7 +965,7 @@ static void rna_def_dynamic_paint_brush_settings(BlenderRNA *brna)
|
|||||||
RNA_def_property_struct_type(prop, "ParticleSystem");
|
RNA_def_property_struct_type(prop, "ParticleSystem");
|
||||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||||
RNA_def_property_ui_text(prop, "Particle Systems", "The particle system to paint with");
|
RNA_def_property_ui_text(prop, "Particle Systems", "The particle system to paint with");
|
||||||
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_DynamicPaint_resetDependancy");
|
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_DynamicPaint_reset_dependency");
|
||||||
|
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "use_particle_radius", PROP_BOOLEAN, PROP_NONE);
|
prop = RNA_def_property(srna, "use_particle_radius", PROP_BOOLEAN, PROP_NONE);
|
||||||
|
@@ -83,7 +83,7 @@ static void rna_Smoke_reset(Main *bmain, Scene *scene, PointerRNA *ptr)
|
|||||||
rna_Smoke_update(bmain, scene, ptr);
|
rna_Smoke_update(bmain, scene, ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void rna_Smoke_reset_dependancy(Main *bmain, Scene *scene, PointerRNA *ptr)
|
static void rna_Smoke_reset_dependency(Main *bmain, Scene *scene, PointerRNA *ptr)
|
||||||
{
|
{
|
||||||
SmokeDomainSettings *settings = (SmokeDomainSettings *)ptr->data;
|
SmokeDomainSettings *settings = (SmokeDomainSettings *)ptr->data;
|
||||||
|
|
||||||
@@ -275,21 +275,21 @@ static void rna_def_smoke_domain_settings(BlenderRNA *brna)
|
|||||||
RNA_def_property_struct_type(prop, "Group");
|
RNA_def_property_struct_type(prop, "Group");
|
||||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||||
RNA_def_property_ui_text(prop, "Collision Group", "Limit collisions to this group");
|
RNA_def_property_ui_text(prop, "Collision Group", "Limit collisions to this group");
|
||||||
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependancy");
|
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependency");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "fluid_group", PROP_POINTER, PROP_NONE);
|
prop = RNA_def_property(srna, "fluid_group", PROP_POINTER, PROP_NONE);
|
||||||
RNA_def_property_pointer_sdna(prop, NULL, "fluid_group");
|
RNA_def_property_pointer_sdna(prop, NULL, "fluid_group");
|
||||||
RNA_def_property_struct_type(prop, "Group");
|
RNA_def_property_struct_type(prop, "Group");
|
||||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||||
RNA_def_property_ui_text(prop, "Fluid Group", "Limit fluid objects to this group");
|
RNA_def_property_ui_text(prop, "Fluid Group", "Limit fluid objects to this group");
|
||||||
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependancy");
|
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependency");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "effector_group", PROP_POINTER, PROP_NONE);
|
prop = RNA_def_property(srna, "effector_group", PROP_POINTER, PROP_NONE);
|
||||||
RNA_def_property_pointer_sdna(prop, NULL, "eff_group");
|
RNA_def_property_pointer_sdna(prop, NULL, "eff_group");
|
||||||
RNA_def_property_struct_type(prop, "Group");
|
RNA_def_property_struct_type(prop, "Group");
|
||||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||||
RNA_def_property_ui_text(prop, "Effector Group", "Limit effectors to this group");
|
RNA_def_property_ui_text(prop, "Effector Group", "Limit effectors to this group");
|
||||||
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependancy");
|
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependency");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "strength", PROP_FLOAT, PROP_NONE);
|
prop = RNA_def_property(srna, "strength", PROP_FLOAT, PROP_NONE);
|
||||||
RNA_def_property_float_sdna(prop, NULL, "strength");
|
RNA_def_property_float_sdna(prop, NULL, "strength");
|
||||||
@@ -502,7 +502,7 @@ static void rna_def_smoke_flow_settings(BlenderRNA *brna)
|
|||||||
RNA_def_property_struct_type(prop, "ParticleSystem");
|
RNA_def_property_struct_type(prop, "ParticleSystem");
|
||||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||||
RNA_def_property_ui_text(prop, "Particle Systems", "Particle systems emitted from the object");
|
RNA_def_property_ui_text(prop, "Particle Systems", "Particle systems emitted from the object");
|
||||||
RNA_def_property_update(prop, 0, "rna_Smoke_reset_dependancy");
|
RNA_def_property_update(prop, 0, "rna_Smoke_reset_dependency");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "smoke_flow_type", PROP_ENUM, PROP_NONE);
|
prop = RNA_def_property(srna, "smoke_flow_type", PROP_ENUM, PROP_NONE);
|
||||||
RNA_def_property_enum_sdna(prop, NULL, "type");
|
RNA_def_property_enum_sdna(prop, NULL, "type");
|
||||||
|
Reference in New Issue
Block a user