| 68 | } |
| 69 | |
| 70 | void |
| 71 | KnobGui::onMultipleKeySet(const std::list<double>& keys, |
| 72 | ViewSpec /*view*/, |
| 73 | int /*dimension*/, |
| 74 | int reason) |
| 75 | { |
| 76 | if ( (ValueChangedReasonEnum)reason != eValueChangedReasonUserEdited ) { |
| 77 | KnobIPtr knob = getKnob(); |
| 78 | if ( !knob->getIsSecret() && ( knob->isDeclaredByPlugin() || knob->isUserKnob() ) ) { |
| 79 | std::list<SequenceTime> intKeys; |
| 80 | for (std::list<double>::const_iterator it = keys.begin(); it != keys.end(); ++it) { |
| 81 | intKeys.push_back(*it); |
| 82 | } |
| 83 | knob->getHolder()->getApp()->addMultipleKeyframeIndicatorsAdded(intKeys, true); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | updateCurveEditorKeyframes(); |
| 88 | } |
| 89 | |
| 90 | void |
| 91 | KnobGui::onMultipleKeyRemoved(const std::list<double>& keys, |
nothing calls this directly
no test coverage detected