diff options
Diffstat (limited to 'release/scripts/op/uvcalc_smart_project.py')
-rw-r--r-- | release/scripts/op/uvcalc_smart_project.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/op/uvcalc_smart_project.py b/release/scripts/op/uvcalc_smart_project.py index 637dccda4ba..b52a2c41c26 100644 --- a/release/scripts/op/uvcalc_smart_project.py +++ b/release/scripts/op/uvcalc_smart_project.py @@ -1124,7 +1124,8 @@ class SmartProject(bpy.types.Operator): description="Margin to reduce bleed from adjacent islands.", default=0.0, min=0.0, max=1.0) - def poll(self, context): + @staticmethod + def poll(context): return context.active_object != None def execute(self, context): |