Fix for recent regression in curve geometry panel poll

This commit is contained in:
Campbell Barton 2013-12-15 01:32:36 +11:00
parent f00728c19b
commit 7947b3d21d

@ -157,6 +157,10 @@ class DATA_PT_curve_texture_space(CurveButtonsPanel, Panel):
class DATA_PT_geometry_curve(CurveButtonsPanelCurve, Panel):
bl_label = "Geometry"
@classmethod
def poll(cls, context):
return (type(context.curve) in {Curve, TextCurve})
def draw(self, context):
layout = self.layout