Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_ColorBalanceLGGOperation.cc
| Show All 39 Lines | |||||
| ColorBalanceLGGOperation::ColorBalanceLGGOperation() | ColorBalanceLGGOperation::ColorBalanceLGGOperation() | ||||
| { | { | ||||
| this->addInputSocket(DataType::Value); | this->addInputSocket(DataType::Value); | ||||
| this->addInputSocket(DataType::Color); | this->addInputSocket(DataType::Color); | ||||
| this->addOutputSocket(DataType::Color); | this->addOutputSocket(DataType::Color); | ||||
| this->m_inputValueOperation = nullptr; | this->m_inputValueOperation = nullptr; | ||||
| this->m_inputColorOperation = nullptr; | this->m_inputColorOperation = nullptr; | ||||
| this->setResolutionInputSocketIndex(1); | this->set_canvas_input_index(1); | ||||
| flags.can_be_constant = true; | flags.can_be_constant = true; | ||||
| } | } | ||||
| void ColorBalanceLGGOperation::initExecution() | void ColorBalanceLGGOperation::initExecution() | ||||
| { | { | ||||
| this->m_inputValueOperation = this->getInputSocketReader(0); | this->m_inputValueOperation = this->getInputSocketReader(0); | ||||
| this->m_inputColorOperation = this->getInputSocketReader(1); | this->m_inputColorOperation = this->getInputSocketReader(1); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines | |||||