Fix "Follow Active Quad" poll function
Since this uses the active face this only makes sense in edit-mode.
This commit is contained in:
parent
e63642f9cd
commit
a38205fbd8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user