@brief Used to group any parameter changes for undo/redo purposes \arg paramSet the parameter set in which this is happening \arg name label to attach to any undo/redo string UTF8 If a plugin calls paramSetValue/paramSetValueAtTime on one or more parameters, either from custom GUI interaction or some analysis of imagery etc.. this is used to indicate the start of a set of a p
| 985 | |
| 986 | */ |
| 987 | OfxStatus |
| 988 | OfxImageEffectInstance::editBegin(const std::string & /*name*/) |
| 989 | { |
| 990 | ///Don't push undo/redo actions while creating a group |
| 991 | OfxEffectInstancePtr effect = getOfxEffectInstance(); |
| 992 | |
| 993 | if ( !effect->getApp()->isCreatingPythonGroup() ) { |
| 994 | effect->setMultipleParamsEditLevel(KnobHolder::eMultipleParamsEditOnCreateNewCommand); |
| 995 | } |
| 996 | |
| 997 | return kOfxStatOK; |
| 998 | } |
| 999 | |
| 1000 | /// Triggered when the plug-in calls OfxParameterSuiteV1::paramEditEnd |
| 1001 | /// |
nothing calls this directly
no test coverage detected