diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-13 23:24:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-13 23:24:35 +0400 |
commit | 7f8f32db40cb3dea610f3c7028564c09149e42de (patch) | |
tree | 792112776bdb6eb8d2d7e0a23644787639995577 /release | |
parent | 78487eb0a2e90d7e1dcd048a4c98e6797b06f8a5 (diff) |
dont show active spline for text
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_data_curve.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_data_curve.py b/release/scripts/ui/properties_data_curve.py index e1d6c9c7f04..8ab0243ed3e 100644 --- a/release/scripts/ui/properties_data_curve.py +++ b/release/scripts/ui/properties_data_curve.py @@ -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): |