コード例 #1
0
    def on_mirror_selection(self):
        objs = pymel.selected(type='joint')
        if not objs:
            pymel.warning('No joints found!')
            return
        libSkeleton.mirror_jnts(objs)

        self.ui.widget_jnts.update()
コード例 #2
0
ファイル: main_window.py プロジェクト: renaudll/omtk
    def on_mirror_selection(self):
        objs = pymel.selected(type='joint')
        if not objs:
            pymel.warning('No joints found!')
            return
        libSkeleton.mirror_jnts(objs)

        self.ui.widget_jnts.update()
コード例 #3
0
    def on_mirror_influences_r_to_l(self):
        objs = self._get_r_influences()
        if not objs:
            pymel.warning('No joints found!')
            return
        libSkeleton.mirror_jnts(objs)

        self.ui.widget_jnts.update()
コード例 #4
0
ファイル: main_window.py プロジェクト: renaudll/omtk
    def on_mirror_influences_r_to_l(self):
        objs = self._get_r_influences()
        if not objs:
            pymel.warning('No joints found!')
            return
        libSkeleton.mirror_jnts(objs)

        self.ui.widget_jnts.update()