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()
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()