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:
Diffstat (limited to 'source/blender/compositor/operations/COM_TextureOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_TextureOperation.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/compositor/operations/COM_TextureOperation.cc b/source/blender/compositor/operations/COM_TextureOperation.cc
index e66cd57cb3f..146f43dbe3a 100644
--- a/source/blender/compositor/operations/COM_TextureOperation.cc
+++ b/source/blender/compositor/operations/COM_TextureOperation.cc
@@ -27,8 +27,8 @@
TextureBaseOperation::TextureBaseOperation()
{
- this->addInputSocket(COM_DT_VECTOR); // offset
- this->addInputSocket(COM_DT_VECTOR); // size
+ this->addInputSocket(DataType::Vector); // offset
+ this->addInputSocket(DataType::Vector); // size
this->m_texture = nullptr;
this->m_inputSize = nullptr;
this->m_inputOffset = nullptr;
@@ -39,11 +39,11 @@ TextureBaseOperation::TextureBaseOperation()
}
TextureOperation::TextureOperation() : TextureBaseOperation()
{
- this->addOutputSocket(COM_DT_COLOR);
+ this->addOutputSocket(DataType::Color);
}
TextureAlphaOperation::TextureAlphaOperation() : TextureBaseOperation()
{
- this->addOutputSocket(COM_DT_VALUE);
+ this->addOutputSocket(DataType::Value);
}
void TextureBaseOperation::initExecution()