Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYevgeny Makarov <jenkm>2021-02-24 22:49:14 +0300
committerHans Goudey <h.goudey@me.com>2021-02-24 22:49:14 +0300
commita50f6bc40b65b72381546d4ca0f3b617798577cf (patch)
treea452da2bdb922c3d2143b2b3a6b46b4a01c8841d /source/blender/makesrna/intern/rna_particle.c
parent962b87f06a8e3dfadf86ca93ca2083db7866b98e (diff)
UI: Clean up "Dupli" to "Instance"
Following the naming conventions defined in T56648, where in this instance there were still a few remaining uses of the old term. Differential Revision: https://developer.blender.org/D9817
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index 1952029d793..9e8a2b83f07 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -1922,13 +1922,13 @@ static void rna_def_particle_dupliweight(BlenderRNA *brna)
srna = RNA_def_struct(brna, "ParticleDupliWeight", NULL);
RNA_def_struct_ui_text(
- srna, "Particle Dupliobject Weight", "Weight of a particle dupliobject in a collection");
+ srna, "Particle Instance Object Weight", "Weight of a particle instance object in a collection");
RNA_def_struct_sdna(srna, "ParticleDupliWeight");
prop = RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
RNA_def_property_string_funcs(
prop, "rna_ParticleDupliWeight_name_get", "rna_ParticleDupliWeight_name_length", NULL);
- RNA_def_property_ui_text(prop, "Name", "Particle dupliobject name");
+ RNA_def_property_ui_text(prop, "Name", "Particle instance object name");
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_struct_name_property(srna, prop);
@@ -3457,32 +3457,32 @@ static void rna_def_particle_settings(BlenderRNA *brna)
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT);
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
RNA_def_property_ui_text(
- prop, "Dupli Collection", "Show Objects in this collection in place of particles");
+ prop, "Instance Collection", "Show objects in this collection in place of particles");
RNA_def_property_update(prop, 0, "rna_Particle_redo_count");
prop = RNA_def_property(srna, "instance_weights", PROP_COLLECTION, PROP_NONE);
RNA_def_property_collection_sdna(prop, NULL, "instance_weights", NULL);
RNA_def_property_struct_type(prop, "ParticleDupliWeight");
RNA_def_property_ui_text(
- prop, "Dupli Collection Weights", "Weights for all of the objects in the dupli collection");
+ prop, "Instance Collection Weights", "Weights for all of the objects in the instance collection");
prop = RNA_def_property(srna, "active_instanceweight", PROP_POINTER, PROP_NONE);
RNA_def_property_struct_type(prop, "ParticleDupliWeight");
RNA_def_property_pointer_funcs(prop, "rna_ParticleDupliWeight_active_get", NULL, NULL, NULL);
- RNA_def_property_ui_text(prop, "Active Dupli Object", "");
+ RNA_def_property_ui_text(prop, "Active Instance Object", "");
prop = RNA_def_property(srna, "active_instanceweight_index", PROP_INT, PROP_UNSIGNED);
RNA_def_property_int_funcs(prop,
"rna_ParticleDupliWeight_active_index_get",
"rna_ParticleDupliWeight_active_index_set",
"rna_ParticleDupliWeight_active_index_range");
- RNA_def_property_ui_text(prop, "Active Dupli Object Index", "");
+ RNA_def_property_ui_text(prop, "Active Instance Object Index", "");
prop = RNA_def_property(srna, "instance_object", PROP_POINTER, PROP_NONE);
RNA_def_property_struct_type(prop, "Object");
RNA_def_property_flag(prop, PROP_EDITABLE);
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
- RNA_def_property_ui_text(prop, "Instance Object", "Show this Object in place of particles");
+ RNA_def_property_ui_text(prop, "Instance Object", "Show this object in place of particles");
RNA_def_property_update(prop, 0, "rna_Particle_redo_dependency");
/* boids */