def _startButton(*args):
'''
Run when the start button is pressed, gathers args and starts the stopwatch.
'''
global STOPWATCH
_setButtonMark()
rounded = mc.checkBoxGrp('ml_stopwatch_round_checkBox', query=True, value1=True)
kwargs = dict()
kwargs['startFrame'], null = utl.frameRange()
if rounded:
kwargs['roundTo'] = 0
STOPWATCH = Stopwatch(**kwargs)
STOPWATCH.start()
评论列表
文章目录