maya

callback 问题

最近”有幸”遇到了这个问题,

解决方法
python

1
2
3
for modelPanel in cmds.getPanel(type="modelPanel"):
if cmds.modelEditor(modelPanel, q=1, ec=1) == "CgAbBlastPanelOptChangeCallback":
cmds.modelEditor(modelPanel, e=1, ec="")

转载于智商帝

阅读全文 »
0%