"Fill Deformed" option for curves isn't dependent from bevel object,

so it shouldn't be grayed out even if bevel object is set.
This commit is contained in:
Sergey Sharybin
2011-03-25 22:02:50 +00:00
parent 6bc3b99016
commit bc88e61efa

View 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):
col.label(text="Fill:")
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_deform", text="Fill Deformed")
col.prop(curve, "use_fill_deform", text="Fill Deformed")
col.label(text="Textures:")
col.prop(curve, "use_uv_as_generated")