Skip to content

Commit

Permalink
Merge pull request #3 from anasrar/development
Browse files Browse the repository at this point in the history
small changes in operator base
  • Loading branch information
anasrar authored Nov 1, 2020
2 parents 2e34daa + 8827f9f commit 35bc469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReNimNode/production/editorType_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class RENIM_OP_Base(Operator):
bl_options = {'REGISTER', 'UNDO'}
@classmethod
def poll(cls, context):
return context.space_data.type == "NODE_EDITOR" and context.space_data.tree_type == "ReNimNode" and context.mode == "OBJECT"
return context.space_data.type == "NODE_EDITOR" and context.space_data.tree_type == "ReNimNode"

class RENIM_OP_OBJCET_BIND(RENIM_OP_Base):
"""bind armature from node object"""
Expand Down

0 comments on commit 35bc469

Please sign in to comment.