diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-14 18:32:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-14 18:33:10 +0400 |
commit | 7947b3d21d8e5d0df5a25f24cce5d8a69f713a46 (patch) | |
tree | 5991252d3d6d4195ef4c8e44422bda24495d8751 | |
parent | f00728c19bb14106e2d4b1087cafa290c1d9b22e (diff) |
Fix for recent regression in curve geometry panel poll
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_curve.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py index 120e30275bc..429c207c176 100644 --- a/release/scripts/startup/bl_ui/properties_data_curve.py +++ b/release/scripts/startup/bl_ui/properties_data_curve.py @@ -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 |