interpPlugins/interpPlugins.cpp
#include <maya/MFnPlugin.h>
#include <maya/MPxAnimCurveInterpolator.h>
#include "interpFlat.h"
#include "interpHalf.h"
{
MFnPlugin plugin( obj, PLUGIN_COMPANY,
"7.0",
"Any");
interpFlat::id, interpFlat::creator);
if (!status) {
status.
perror(
"registerAnimCurveInterpolator");
return status;
}
if (!status) {
status.
perror(
"registerAnimCurveInterpolator");
return status;
}
return status;
}
{
status = plugin.deregisterAnimCurveInterpolator( "InterpHalf" );
if (!status) {
status.
perror(
"deregisterAnimCurveInterpolator");
return status;
}
status = plugin.deregisterAnimCurveInterpolator( "InterpFlat" );
if (!status) {
status.
perror(
"deregisterAnimCurveInterpolator");
return status;
}
return status;
}