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:44:24 +0300
committerHans Goudey <h.goudey@me.com>2021-02-24 22:44:24 +0300
commit962b87f06a8e3dfadf86ca93ca2083db7866b98e (patch)
tree50c7ddadbdeeb520cb9dbb83f8d9e7753d008618 /source/blender/makesrna
parent4f247dba5ea99d9c3a3544c9dd302192cc1dab75 (diff)
UI: Clean up use of the term "Metaballs"
Clear the weird term "Metaelement". These are the metaballs (elements) inside one metaball objects. - "Meta Ball" to "Metaball" - "Metaelement", "Meta element" to "Metaball element" Differential Revision: https://developer.blender.org/D9910
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_meta.c12
-rw-r--r--source/blender/makesrna/intern/rna_meta_api.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/makesrna/intern/rna_meta.c b/source/blender/makesrna/intern/rna_meta.c
index a391defe542..ffdd75e63ac 100644
--- a/source/blender/makesrna/intern/rna_meta.c
+++ b/source/blender/makesrna/intern/rna_meta.c
@@ -198,7 +198,7 @@ static void rna_def_metaelement(BlenderRNA *brna)
srna = RNA_def_struct(brna, "MetaElement", NULL);
RNA_def_struct_sdna(srna, "MetaElem");
- RNA_def_struct_ui_text(srna, "Meta Element", "Blobby element in a Metaball data-block");
+ RNA_def_struct_ui_text(srna, "Metaball Element", "Blobby element in a metaball data-block");
RNA_def_struct_path_func(srna, "rna_MetaElement_path");
RNA_def_struct_ui_icon(srna, ICON_OUTLINER_DATA_META);
@@ -290,13 +290,13 @@ static void rna_def_metaball_elements(BlenderRNA *brna, PropertyRNA *cprop)
RNA_def_property_srna(cprop, "MetaBallElements");
srna = RNA_def_struct(brna, "MetaBallElements", NULL);
RNA_def_struct_sdna(srna, "MetaBall");
- RNA_def_struct_ui_text(srna, "Meta Elements", "Collection of metaball elements");
+ RNA_def_struct_ui_text(srna, "Metaball Elements", "Collection of metaball elements");
func = RNA_def_function(srna, "new", "rna_MetaBall_elements_new");
RNA_def_function_ui_description(func, "Add a new element to the metaball");
RNA_def_enum(
- func, "type", rna_enum_metaelem_type_items, MB_BALL, "", "type for the new meta-element");
- parm = RNA_def_pointer(func, "element", "MetaElement", "", "The newly created meta-element");
+ func, "type", rna_enum_metaelem_type_items, MB_BALL, "", "Type for the new metaball element");
+ parm = RNA_def_pointer(func, "element", "MetaElement", "", "The newly created metaball element");
RNA_def_function_return(func, parm);
func = RNA_def_function(srna, "remove", "rna_MetaBall_elements_remove");
@@ -337,7 +337,7 @@ static void rna_def_metaball(BlenderRNA *brna)
prop = RNA_def_property(srna, "elements", PROP_COLLECTION, PROP_NONE);
RNA_def_property_collection_sdna(prop, NULL, "elems", NULL);
RNA_def_property_struct_type(prop, "MetaElement");
- RNA_def_property_ui_text(prop, "Elements", "Meta elements");
+ RNA_def_property_ui_text(prop, "Elements", "Metaball elements");
rna_def_metaball_elements(brna, prop);
/* enums */
@@ -365,7 +365,7 @@ static void rna_def_metaball(BlenderRNA *brna)
prop = RNA_def_property(srna, "threshold", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "thresh");
RNA_def_property_range(prop, 0.0f, 5.0f);
- RNA_def_property_ui_text(prop, "Threshold", "Influence of meta elements");
+ RNA_def_property_ui_text(prop, "Threshold", "Influence of metaball elements");
RNA_def_property_update(prop, 0, "rna_MetaBall_update_data");
/* texture space */
diff --git a/source/blender/makesrna/intern/rna_meta_api.c b/source/blender/makesrna/intern/rna_meta_api.c
index 178209d1152..19d0b35959b 100644
--- a/source/blender/makesrna/intern/rna_meta_api.c
+++ b/source/blender/makesrna/intern/rna_meta_api.c
@@ -54,7 +54,7 @@ void RNA_api_meta(StructRNA *srna)
PropertyRNA *parm;
func = RNA_def_function(srna, "transform", "rna_Meta_transform");
- RNA_def_function_ui_description(func, "Transform meta elements by a matrix");
+ RNA_def_function_ui_description(func, "Transform metaball elements by a matrix");
parm = RNA_def_float_matrix(func, "matrix", 4, 4, NULL, 0.0f, 0.0f, "", "Matrix", 0.0f, 0.0f);
RNA_def_parameter_flags(parm, 0, PARM_REQUIRED);