diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-02-10 17:14:51 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-02-10 17:14:51 +0400 |
commit | 9a6c5d8b3ef2e2ddd444d79c384bea0eeffca71f (patch) | |
tree | 40f1cdd7932e541e987f1d23001ac5db05ebc6e2 /source/blender/compositor/operations/COM_CompositorOperation.h | |
parent | 75cbb07507fa39a1c65296321839cdfd245cc8d6 (diff) |
We've reconsidered previous patch in IRC.
It's more useful to completely ignore alpha for display of straight
colors.
Supporting straight pipeline is possible, but not a topic for bcon4.
Diffstat (limited to 'source/blender/compositor/operations/COM_CompositorOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_CompositorOperation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_CompositorOperation.h b/source/blender/compositor/operations/COM_CompositorOperation.h index e60862be410..27d29664610 100644 --- a/source/blender/compositor/operations/COM_CompositorOperation.h +++ b/source/blender/compositor/operations/COM_CompositorOperation.h @@ -66,8 +66,8 @@ private: */ SocketReader *m_depthInput; - /* node input has got straight alpha which shall be premultiplied */ - bool m_straightAlpha; + /* Ignore any alpha input */ + bool m_ignoreAlpha; public: CompositorOperation(); @@ -79,6 +79,6 @@ public: void deinitExecution(); const CompositorPriority getRenderPriority() const { return COM_PRIORITY_MEDIUM; } void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); - void setStraightAlpha(bool value) { this->m_straightAlpha = value; } + void setIgnoreAlpha(bool value) { this->m_ignoreAlpha = value; } }; #endif |