diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-14 02:56:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-14 02:56:25 +0300 |
commit | a38205fbd801dabf943bea0ebe826bb46e9a0029 (patch) | |
tree | 3fcf2785ccd164c22662afc19c03d24e186c5237 | |
parent | e63642f9cd57d12b0d4b4036e477d61012714181 (diff) |
Fix "Follow Active Quad" poll function
Since this uses the active face this only makes sense in edit-mode.
-rw-r--r-- | release/scripts/startup/bl_operators/uvcalc_follow_active.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_follow_active.py b/release/scripts/startup/bl_operators/uvcalc_follow_active.py index 21c89444a32..f20e349aeb2 100644 --- a/release/scripts/startup/bl_operators/uvcalc_follow_active.py +++ b/release/scripts/startup/bl_operators/uvcalc_follow_active.py @@ -263,8 +263,7 @@ class FollowActiveQuads(Operator): @classmethod def poll(cls, context): - obj = context.active_object - return (obj is not None and obj.type == 'MESH') + return context.mode == 'EDIT_MESH' def execute(self, context): main(context, self) |