Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_TranslateOperation.cc
| Show All 23 Lines | |||||
| { | { | ||||
| } | } | ||||
| TranslateOperation::TranslateOperation(DataType data_type) | TranslateOperation::TranslateOperation(DataType data_type) | ||||
| { | { | ||||
| this->addInputSocket(data_type); | this->addInputSocket(data_type); | ||||
| this->addInputSocket(DataType::Value); | this->addInputSocket(DataType::Value); | ||||
| this->addInputSocket(DataType::Value); | this->addInputSocket(DataType::Value); | ||||
| this->addOutputSocket(data_type); | this->addOutputSocket(data_type); | ||||
| this->setResolutionInputSocketIndex(0); | this->set_canvas_input_index(0); | ||||
| this->m_inputOperation = nullptr; | this->m_inputOperation = nullptr; | ||||
| this->m_inputXOperation = nullptr; | this->m_inputXOperation = nullptr; | ||||
| this->m_inputYOperation = nullptr; | this->m_inputYOperation = nullptr; | ||||
| this->m_isDeltaSet = false; | this->m_isDeltaSet = false; | ||||
| this->m_factorX = 1.0f; | this->m_factorX = 1.0f; | ||||
| this->m_factorY = 1.0f; | this->m_factorY = 1.0f; | ||||
| this->x_extend_mode_ = MemoryBufferExtend::Clip; | this->x_extend_mode_ = MemoryBufferExtend::Clip; | ||||
| this->y_extend_mode_ = MemoryBufferExtend::Clip; | this->y_extend_mode_ = MemoryBufferExtend::Clip; | ||||
| ▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines | |||||