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:
authorManuel Castilla <manzanillawork@gmail.com>2021-07-06 17:16:49 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-07-06 19:11:49 +0300
commit5780de2ae052e76747ee50778c58264c74a6f9e8 (patch)
tree5efbde4c6023cc3fd2cbfe4a3e9714f403f919d7 /source/blender/compositor/operations/COM_ColorBalanceLGGOperation.cc
parentfc5be0b59883c28d5d0702acb96dc3d72295dda8 (diff)
Compositor: Enable constant folding on operations
Only on current full frame operations that can be constant.
Diffstat (limited to 'source/blender/compositor/operations/COM_ColorBalanceLGGOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_ColorBalanceLGGOperation.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_ColorBalanceLGGOperation.cc b/source/blender/compositor/operations/COM_ColorBalanceLGGOperation.cc
index 36307f0b136..674cb79a238 100644
--- a/source/blender/compositor/operations/COM_ColorBalanceLGGOperation.cc
+++ b/source/blender/compositor/operations/COM_ColorBalanceLGGOperation.cc
@@ -46,6 +46,7 @@ ColorBalanceLGGOperation::ColorBalanceLGGOperation()
this->m_inputValueOperation = nullptr;
this->m_inputColorOperation = nullptr;
this->setResolutionInputSocketIndex(1);
+ flags.can_be_constant = true;
}
void ColorBalanceLGGOperation::initExecution()