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

Method removeCurve

Engine/RotoPaintInteract.cpp:1902–1911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1900}
1901
1902void
1903RotoPaintInteract::removeCurve(const RotoDrawableItemPtr& curve)
1904{
1905 if (curve == builtBezier) {
1906 builtBezier.reset();
1907 } else if (curve == strokeBeingPaint) {
1908 strokeBeingPaint.reset();
1909 }
1910 getContext()->removeItem(curve);
1911}
1912
1913NATRON_NAMESPACE_EXIT

Callers 2

redoMethod · 0.45
undoMethod · 0.45

Calls 2

resetMethod · 0.45
removeItemMethod · 0.45

Tested by

no test coverage detected