Skip to content

Commit

Permalink
fix(cpmel._object_types.core): 3.4.1版本, 修复了is_lock无法正确判断节点是否正确锁定的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
苍之幻灵 committed Nov 6, 2022
1 parent d67bc5e commit ddc6595
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CPMel/_object_types/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def unlock(self):
return self

def is_lock(self):
return mc.getAttr(self.name(), lock=False)
return mc.getAttr(self.name(), lock=True)

def connect(self, b):
self_ = arg_conv(self)
Expand Down
2 changes: 1 addition & 1 deletion src/CPMel/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def to_str(self):


def ver_info():
return VersionInfo(major=3, minor=4, patch=0, adv_ver=R, adv_ver_index=0)
return VersionInfo(major=3, minor=4, patch=1, adv_ver=R, adv_ver_index=0)


def ver_str():
Expand Down

0 comments on commit ddc6595

Please sign in to comment.