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:
authorCampbell Barton <ideasman42@gmail.com>2012-08-14 15:05:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-14 15:05:26 +0400
commit9fd6c535cabbcf4ec12c21bc9229c94944bc6c91 (patch)
tree35d589545700387c79b403cce898981edd5e06e5 /source/blender/compositor/operations/COM_SetColorOperation.h
parentf2074949e7a3dbf3a1dc5b51a0a3eee0eee9aada (diff)
fix [#32324] regression: node group with missing ID crashes new tile node system.
node groups with no ID now output magenta so it doesnt silently fail.
Diffstat (limited to 'source/blender/compositor/operations/COM_SetColorOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_SetColorOperation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_SetColorOperation.h b/source/blender/compositor/operations/COM_SetColorOperation.h
index 374390b45a4..a6ff390c3c9 100644
--- a/source/blender/compositor/operations/COM_SetColorOperation.h
+++ b/source/blender/compositor/operations/COM_SetColorOperation.h
@@ -49,8 +49,8 @@ public:
const float getChannel3() { return this->m_channel3; }
void setChannel3(float value) { this->m_channel3 = value; }
const float getChannel4() { return this->m_channel4; }
- void setChannel4(float value) { this->m_channel4 = value; }
- void setChannels(float value[4])
+ void setChannel4(const float value) { this->m_channel4 = value; }
+ void setChannels(const float value[4])
{
this->m_channel1 = value[0];
this->m_channel2 = value[1];