BlendTransforms.py 文件源码

python
阅读 34 收藏 0 点赞 0 评论 0

项目:BlendTransforms 作者: duncanskertchly 项目源码 文件源码
def loadSelectedSet(self):
        selection = BT_GetSelectedSet()
        if not selection:
            return False

        if not cmds.attributeQuery('Blend_Node', ex = True, n = selection):
            cmds.warning('Blend_Node attribute not found! This set might not be connected to a BlendTransforms node yet.')
            return False

        self.ui.poseList.clear()
        self.ui.setEdit.setText(selection)

        poses = BT_GetPosesFromSet(selection)
        if not poses:
            return False

        self.ui.poseList.addItems(poses)
        return True
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号