// Shave and a Haircut // (c) 2019 Epic Games // US Patent 6720962 // // Maya Bug Workaround // ------------------- // // Even though libShave includes MFnPlugin.h, if we don't also include it // here then MPxSurfaceShapes never fire their setDependentsDirty(). I // don't know what that's so, but it is, as of Maya 7.0. // // Although the API docs say that MFnPlugin.h should only be include "once // per plugin", to avoid symbol clashes, what they really mean is "once per // shared object". Since this is in a separate shared object from libShave // we can safely include it here as well. // #include #include #include #include "libShave.h" MStatus initializePlugin(MObject obj) { return shaveInitializePlugin(obj); } MStatus uninitializePlugin(MObject obj) { return shaveUninitializePlugin(obj); }