From 95c14aa685522740eee03a9bdc2ee62b9414564f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 28 Feb 2012 11:18:05 +0000 Subject: 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:" --- source/blender/makesrna/intern/rna_curve.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'source/blender/makesrna/intern/rna_curve.c') 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"); } -- cgit v1.2.3