Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_FlipOperation.cc
| Show All 18 Lines | |||||
| #include "COM_FlipOperation.h" | #include "COM_FlipOperation.h" | ||||
| namespace blender::compositor { | namespace blender::compositor { | ||||
| FlipOperation::FlipOperation() | FlipOperation::FlipOperation() | ||||
| { | { | ||||
| this->addInputSocket(DataType::Color); | this->addInputSocket(DataType::Color); | ||||
| this->addOutputSocket(DataType::Color); | this->addOutputSocket(DataType::Color); | ||||
| this->setResolutionInputSocketIndex(0); | this->set_canvas_input_index(0); | ||||
| this->m_inputOperation = nullptr; | this->m_inputOperation = nullptr; | ||||
| this->m_flipX = true; | this->m_flipX = true; | ||||
| this->m_flipY = false; | this->m_flipY = false; | ||||
| } | } | ||||
| void FlipOperation::initExecution() | void FlipOperation::initExecution() | ||||
| { | { | ||||
| this->m_inputOperation = this->getInputSocketReader(0); | this->m_inputOperation = this->getInputSocketReader(0); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines | |||||