This locks up Maya. from maya import utils def nested_func(): print "Hello world" def func(): utils.executeInMainThreadWithResult(nested_func)
utils.executeInMainThreadWithResult(func) Though I can currently work around it, I can’t quite understand why it would lock up. -- *Marcus Ottosson* konstrukt...@gmail.com -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOB0ag9qydyNXS-CqKuhvUf%2BBEAXQxnsqxPhWamF%2BXinyQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.