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_ScreenLensDistortionOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cc b/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cc
index 158ffd4a8c0..d5918dfa6f5 100644
--- a/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cc
+++ b/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cc
@@ -26,10 +26,10 @@
ScreenLensDistortionOperation::ScreenLensDistortionOperation()
{
- this->addInputSocket(COM_DT_COLOR);
- this->addInputSocket(COM_DT_VALUE);
- this->addInputSocket(COM_DT_VALUE);
- this->addOutputSocket(COM_DT_COLOR);
+ this->addInputSocket(DataType::Color);
+ this->addInputSocket(DataType::Value);
+ this->addInputSocket(DataType::Value);
+ this->addOutputSocket(DataType::Color);
this->setComplex(true);
this->m_inputProgram = nullptr;
this->m_distortion = 0.0f;