"Fill Deformed" option for curves isn't dependent from bevel object,
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 25 Mar 2011 22:02:50 +0000 (22:02 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 25 Mar 2011 22:02:50 +0000 (22:02 +0000)
so it shouldn't be grayed out even if bevel object is set.

release/scripts/startup/bl_ui/properties_data_curve.py

index 8f117cd0335d500c9b1092106953d111ac00089a..58047db63d654cc964b13816f13981a6c563e713 100644 (file)
@@ -106,12 +106,12 @@ class DATA_PT_shape_curve(CurveButtonsPanel, bpy.types.Panel):
             sub.prop(curve, "render_resolution_v", text="Render V")
 
         if (is_curve or is_text):
             sub.prop(curve, "render_resolution_v", text="Render V")
 
         if (is_curve or is_text):
+            col.label(text="Fill:")
             sub = col.column()
             sub.active = (curve.bevel_object is None)
             sub = col.column()
             sub.active = (curve.bevel_object is None)
-            sub.label(text="Fill:")
             sub.prop(curve, "use_fill_front")
             sub.prop(curve, "use_fill_back")
             sub.prop(curve, "use_fill_front")
             sub.prop(curve, "use_fill_back")
-            sub.prop(curve, "use_fill_deform", text="Fill Deformed")
+            col.prop(curve, "use_fill_deform", text="Fill Deformed")
 
         col.label(text="Textures:")
         col.prop(curve, "use_uv_as_generated")
 
         col.label(text="Textures:")
         col.prop(curve, "use_uv_as_generated")