ml_stopwatch.py 文件源码

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

项目:ml_tools 作者: morganloomis 项目源码 文件源码
def uiUpdateStartFrame(self, *args):
        '''
        Update the UI text with the new frames when the slider is updated.
        '''

        self.startFrame = mc.intSliderGrp(self.uiSlider, query=True, value=True)

        for b,f in zip(self.uiButton, self.frameMarks):
            frame = f+self.startFrame
            mc.button(b, edit=True, label=str(frame), annotation='Go to frame %i' % frame, command='import maya.cmds;maya.cmds.currentTime(%i,edit=True)' % frame)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号