@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
| 965 | |
| 966 | */ |
| 967 | OfxStatus |
| 968 | OfxImageEffectInstance::editBegin(const std::string & /*name*/) |
| 969 | { |
| 970 | ///Don't push undo/redo actions while creating a group |
| 971 | boost::shared_ptr<OfxEffectInstance> effect = getOfxEffectInstance(); |
| 972 | |
| 973 | if ( !effect->getApp()->isCreatingPythonGroup() ) { |
| 974 | effect->setMultipleParamsEditLevel(KnobHolder::eMultipleParamsEditOnCreateNewCommand); |
| 975 | } |
| 976 | |
| 977 | return kOfxStatOK; |
| 978 | } |
| 979 | |
| 980 | /// Triggered when the plug-in calls OfxParameterSuiteV1::paramEditEnd |
| 981 | /// |
nothing calls this directly
no test coverage detected