dont show active spline for text

This commit is contained in:
Campbell Barton
2010-07-13 19:24:35 +00:00
parent 78487eb0a2
commit 7f8f32db40

View File

@@ -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):