2 #include "AL/usdmaya/Common.h"
3 #include "maya/MSceneMessage.h"
25 static MCallbackId m_preSave;
26 static MCallbackId m_postSave;
27 static MCallbackId m_preOpen;
28 static MCallbackId m_postOpen;
29 static MCallbackId m_fileNew;
This class wraps all of the global state/mechanisms needed to integrate USD and Maya. This mainly handles things such as onFileNew, preFileSave, etc. Hopefully the contents of the cpp file will be as minimal as possible.
Definition: Global.h:14
static void onPluginLoad()
initialise the global state
static void onPluginUnload()
uninitialise the global state