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:
authorCampbell Barton <ideasman42@gmail.com>2012-02-28 15:18:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-28 15:18:05 +0400
commit95c14aa685522740eee03a9bdc2ee62b9414564f (patch)
tree94291ce4936d8311c30595264e7cc2d845b58016 /source/blender/makesrna/intern/rna_curve.c
parent0d66b57bc278c185a721276e2fc69dad8342e76d (diff)
Fix UI error - some curve settings were in the path panel and were greyed out when 'Path Animation' was disabled, but were infact used for the curve deform modifier.
noticed while looking into bug [#30349]. Move these settings under the main curves panel under text "Path / Curve-Deform:"
Diffstat (limited to 'source/blender/makesrna/intern/rna_curve.c')
-rw-r--r--source/blender/makesrna/intern/rna_curve.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c
index 088f2dba0bb..91d3c3a0d3f 100644
--- a/source/blender/makesrna/intern/rna_curve.c
+++ b/source/blender/makesrna/intern/rna_curve.c
@@ -849,12 +849,14 @@ static void rna_def_path(BlenderRNA *brna, StructRNA *srna)
prop= RNA_def_property(srna, "use_stretch", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_STRETCH);
- RNA_def_property_ui_text(prop, "Stretch", "Option for curve-deform: make deformed child to stretch along entire path");
+ RNA_def_property_ui_text(prop, "Stretch", "Option for curve-deform: "
+ "make deformed child to stretch along entire path");
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
prop= RNA_def_property(srna, "use_deform_bounds", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", CU_DEFORM_BOUNDS_OFF);
- RNA_def_property_ui_text(prop, "Bounds Clamp", "Use the mesh bounds to clamp the deformation");
+ RNA_def_property_ui_text(prop, "Bounds Clamp", "Option for curve-deform: "
+ "Use the mesh bounds to clamp the deformation");
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
prop= RNA_def_property(srna, "use_time_offset", PROP_BOOLEAN, PROP_NONE);
@@ -864,7 +866,8 @@ static void rna_def_path(BlenderRNA *brna, StructRNA *srna)
prop= RNA_def_property(srna, "use_radius", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_PATH_RADIUS);
- RNA_def_property_ui_text(prop, "Radius", "Option for paths: apply the curve radius with path following it and deforming");
+ RNA_def_property_ui_text(prop, "Radius", "Option for paths and curve-deform: "
+ "apply the curve radius with path following it and deforming");
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
}