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:
authorJeroen Bakker <jeroen@blender.org>2021-03-19 16:26:24 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-19 19:11:47 +0300
commite5ffefe606092c848e25894ccead21f0de42510f (patch)
tree8c8ce3f367ca0c2637f3ec5d4cb3f4e9c9c50d42 /source/blender/compositor/operations/COM_PlaneCornerPinOperation.cc
parentb5f70d92c25693e05c8ecbd79c76e5bb35a7ceb5 (diff)
Cleanup: Use enum class for DataType.
Diffstat (limited to 'source/blender/compositor/operations/COM_PlaneCornerPinOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_PlaneCornerPinOperation.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_PlaneCornerPinOperation.cc b/source/blender/compositor/operations/COM_PlaneCornerPinOperation.cc
index d4f2ca7bbe8..bcf79e1c6c6 100644
--- a/source/blender/compositor/operations/COM_PlaneCornerPinOperation.cc
+++ b/source/blender/compositor/operations/COM_PlaneCornerPinOperation.cc
@@ -89,10 +89,10 @@ static void readCornersFromSockets(rcti *rect, SocketReader *readers[4], float c
PlaneCornerPinMaskOperation::PlaneCornerPinMaskOperation() : m_corners_ready(false)
{
- addInputSocket(COM_DT_VECTOR);
- addInputSocket(COM_DT_VECTOR);
- addInputSocket(COM_DT_VECTOR);
- addInputSocket(COM_DT_VECTOR);
+ addInputSocket(DataType::Vector);
+ addInputSocket(DataType::Vector);
+ addInputSocket(DataType::Vector);
+ addInputSocket(DataType::Vector);
/* XXX this is stupid: we need to make this "complex",
* so we can use the initializeTileData function
@@ -153,10 +153,10 @@ void PlaneCornerPinMaskOperation::determineResolution(unsigned int resolution[2]
PlaneCornerPinWarpImageOperation::PlaneCornerPinWarpImageOperation() : m_corners_ready(false)
{
- addInputSocket(COM_DT_VECTOR);
- addInputSocket(COM_DT_VECTOR);
- addInputSocket(COM_DT_VECTOR);
- addInputSocket(COM_DT_VECTOR);
+ addInputSocket(DataType::Vector);
+ addInputSocket(DataType::Vector);
+ addInputSocket(DataType::Vector);
+ addInputSocket(DataType::Vector);
}
void PlaneCornerPinWarpImageOperation::initExecution()