diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-27 17:59:17 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-27 18:01:10 +0300 |
commit | ea67f55b87e362e4e46097d88236639e6c2ea472 (patch) | |
tree | bf173a2d962f46c96c8d723f1becb441b0258221 /source/blender/compositor/operations/COM_MovieClipAttributeOperation.h | |
parent | b2f57190d9f2cc3ece678ef788b42eefb5631a2e (diff) |
Compositor: Add Invert option to the movie clip stabilization node
This appears to be really common workflow when you stabilize shot to make compo
easier (roto, some effects and so) and then re-introduce the motion back.
Surely it's doable with some magic nodes and manual network for transforming
but such workflow is too common in VFX to resist adding one small option in
single node for this.
Diffstat (limited to 'source/blender/compositor/operations/COM_MovieClipAttributeOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_MovieClipAttributeOperation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_MovieClipAttributeOperation.h b/source/blender/compositor/operations/COM_MovieClipAttributeOperation.h index 49c86c7fafc..731b9debaf0 100644 --- a/source/blender/compositor/operations/COM_MovieClipAttributeOperation.h +++ b/source/blender/compositor/operations/COM_MovieClipAttributeOperation.h @@ -41,6 +41,7 @@ private: float m_value; bool m_valueSet; int m_framenumber; + bool m_invert; MovieClipAttribute m_attribute; public: /** @@ -57,5 +58,6 @@ public: void setMovieClip(MovieClip *clip) { this->m_clip = clip; } void setFramenumber(int framenumber) { this->m_framenumber = framenumber; } void setAttribute(MovieClipAttribute attribute) { this->m_attribute = attribute; } + void setInvert(bool invert) { this->m_invert = invert; } }; #endif |