Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-02-10 17:14:51 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-02-10 17:14:51 +0400
commit9a6c5d8b3ef2e2ddd444d79c384bea0eeffca71f (patch)
tree40f1cdd7932e541e987f1d23001ac5db05ebc6e2 /source/blender/compositor/operations/COM_CompositorOperation.h
parent75cbb07507fa39a1c65296321839cdfd245cc8d6 (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.h6
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