Fix "Follow Active Quad" poll function

Since this uses the active face this only makes sense in edit-mode.
This commit is contained in:
Campbell Barton 2019-03-14 10:56:25 +11:00
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)