dont show active spline for text
This commit is contained in:
@@ -44,7 +44,7 @@ class DataButtonsPanelActive(DataButtonsPanel):
|
||||
|
||||
def poll(self, context):
|
||||
curve = context.curve
|
||||
return (curve and curve.splines.active)
|
||||
return (curve and type(curve) is not bpy.types.TextCurve and curve.splines.active)
|
||||
|
||||
|
||||
class DATA_PT_context_curve(DataButtonsPanel):
|
||||
|
Reference in New Issue
Block a user