forked from bartvdbraak/blender
Front/Back togles should not disable when curve is 2D and bevel object is used
http://www.pasteall.org/pic/show.php?id=16449
This commit is contained in:
parent
b7302f9d5a
commit
f0259542e1
@ -109,7 +109,7 @@ class DATA_PT_shape_curve(CurveButtonsPanel, Panel):
|
|||||||
if (is_curve or is_text):
|
if (is_curve or is_text):
|
||||||
col.label(text="Fill:")
|
col.label(text="Fill:")
|
||||||
sub = col.column()
|
sub = col.column()
|
||||||
sub.active = (curve.bevel_object is None)
|
sub.active = (curve.dimensions == '2D' or (curve.bevel_object is None and curve.dimensions == '3D'))
|
||||||
sub.prop(curve, "use_fill_front")
|
sub.prop(curve, "use_fill_front")
|
||||||
sub.prop(curve, "use_fill_back")
|
sub.prop(curve, "use_fill_back")
|
||||||
col.prop(curve, "use_fill_deform", text="Fill Deformed")
|
col.prop(curve, "use_fill_deform", text="Fill Deformed")
|
||||||
|
Loading…
Reference in New Issue
Block a user