MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / cloneExtraData

Method cloneExtraData

Engine/Knob.cpp:6381–6391  ·  view source on GitHub ↗

STRING ANIMATION******************************************/

Source from the content-addressed store, hash-verified

6379
6380/***************************STRING ANIMATION******************************************/
6381void
6382AnimatingKnobStringHelper::cloneExtraData(KnobI* other,
6383 int /*dimension*/,
6384 int /*otherDimension*/)
6385{
6386 AnimatingKnobStringHelper* isAnimatedString = dynamic_cast<AnimatingKnobStringHelper*>(other);
6387
6388 if (isAnimatedString) {
6389 _animation->clone( isAnimatedString->getAnimation() );
6390 }
6391}
6392
6393bool
6394AnimatingKnobStringHelper::cloneExtraDataAndCheckIfChanged(KnobI* other,

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.45
getAnimationMethod · 0.45

Tested by

no test coverage detected