From e5ffefe606092c848e25894ccead21f0de42510f Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 19 Mar 2021 14:26:24 +0100 Subject: Cleanup: Use enum class for DataType. --- source/blender/compositor/operations/COM_MapUVOperation.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/compositor/operations/COM_MapUVOperation.cc') diff --git a/source/blender/compositor/operations/COM_MapUVOperation.cc b/source/blender/compositor/operations/COM_MapUVOperation.cc index 32ab63ae028..7328de7f49f 100644 --- a/source/blender/compositor/operations/COM_MapUVOperation.cc +++ b/source/blender/compositor/operations/COM_MapUVOperation.cc @@ -21,9 +21,9 @@ MapUVOperation::MapUVOperation() { - this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE); - this->addInputSocket(COM_DT_VECTOR); - this->addOutputSocket(COM_DT_COLOR); + this->addInputSocket(DataType::Color, COM_SC_NO_RESIZE); + this->addInputSocket(DataType::Vector); + this->addOutputSocket(DataType::Color); this->m_alpha = 0.0f; this->setComplex(true); setResolutionInputSocketIndex(1); -- cgit v1.2.3