diff options
-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 |