cleanPerFaceAssignmentPluginMain.cpp
#include "cleanPerFaceAssignmentCmd.h"
#include <maya/MFnPlugin.h>
MStatus initializePlugin( MObject obj )
{
MStatus status;
MFnPlugin plugin( obj, "Hiroyuki Haga", "8.5", "Any");
status = plugin.registerCommand( "cleanPerFaceAssignment", cleanPerFaceAssignment::creator );
if (!status) {
status.perror("registerCommand");
return status;
}
return status;
}
MStatus uninitializePlugin( MObject obj )
{
MStatus status;
MFnPlugin plugin( obj );
status = plugin.deregisterCommand( "cleanPerFaceAssignment" );
if (!status) {
status.perror("deregisterCommand");
return status;
}
return status;
}