MCPcopy Create free account
hub / github.com/MrKepzie/Natron / editEnd

Method editEnd

Engine/OfxImageEffectInstance.cpp:983–994  ·  view source on GitHub ↗

Triggered when the plug-in calls OfxParameterSuiteV1::paramEditEnd Client host code needs to implement this

Source from the content-addressed store, hash-verified

981///
982/// Client host code needs to implement this
983OfxStatus
984OfxImageEffectInstance::editEnd()
985{
986 ///Don't push undo/redo actions while creating a group
987 boost::shared_ptr<OfxEffectInstance> effect = getOfxEffectInstance();
988
989 if ( !effect->getApp()->isCreatingPythonGroup() ) {
990 effect->setMultipleParamsEditLevel(KnobHolder::eMultipleParamsEditOff);
991 }
992
993 return kOfxStatOK;
994}
995
996////////////////////////////////////////////////////////////////////////////////
997////////////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 4

getOfxEffectInstanceFunction · 0.85
isCreatingPythonGroupMethod · 0.80
getAppMethod · 0.45

Tested by

no test coverage detected