Usual UI messages fixes.

This commit is contained in:
Bastien Montagne 2014-01-21 20:18:07 +01:00
parent a6e697f6d7
commit aeca473a41
3 changed files with 5 additions and 2 deletions

@ -63,6 +63,7 @@ class SpellChecker():
"autoexec", "autoexec",
"autoexecution", "autoexecution",
"autoname", "autoname",
"autopack",
"autosave", "autosave",
"autoscale", "autoscale",
"autosmooth", "autosmooth",
@ -278,6 +279,7 @@ class SpellChecker():
"xy", "xz", "yx", "yz", "zx", "zy", "xy", "xz", "yx", "yz", "zx", "zy",
# General computer/science terms # General computer/science terms
"bitangent",
"boid", "boids", "boid", "boids",
"equisolid", "equisolid",
"euler", "eulers", "euler", "eulers",
@ -438,6 +440,7 @@ class SpellChecker():
"hosek", "hosek",
"kutta", "kutta",
"lennard", "lennard",
"mikktspace",
"minkowski", "minkowski",
"minnaert", "minnaert",
"musgrave", "musgrave",

@ -1381,7 +1381,7 @@ static int shade_smooth_exec(bContext *C, wmOperator *op)
CTX_DATA_END; CTX_DATA_END;
if (linked_data) if (linked_data)
BKE_report(op->reports, RPT_WARNING, "Can't edit linked mesh or curve data."); BKE_report(op->reports, RPT_WARNING, "Can't edit linked mesh or curve data");
return (done) ? OPERATOR_FINISHED : OPERATOR_CANCELLED; return (done) ? OPERATOR_FINISHED : OPERATOR_CANCELLED;
} }

@ -3796,7 +3796,7 @@ static void rna_def_modifier_wireframe(BlenderRNA *brna)
RNA_def_property_float_sdna(prop, NULL, "crease_weight"); RNA_def_property_float_sdna(prop, NULL, "crease_weight");
RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); RNA_def_property_range(prop, -FLT_MAX, FLT_MAX);
RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.1, 1); RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.1, 1);
RNA_def_property_ui_text(prop, "Weigth", "Crease weight (if active)"); RNA_def_property_ui_text(prop, "Weight", "Crease weight (if active)");
RNA_def_property_update(prop, 0, "rna_Modifier_update"); RNA_def_property_update(prop, 0, "rna_Modifier_update");
prop = RNA_def_property(srna, "material_offset", PROP_INT, PROP_NONE); prop = RNA_def_property(srna, "material_offset", PROP_INT, PROP_NONE);