diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-19 16:26:24 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-19 19:11:47 +0300 |
commit | e5ffefe606092c848e25894ccead21f0de42510f (patch) | |
tree | 8c8ce3f367ca0c2637f3ec5d4cb3f4e9c9c50d42 /source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc | |
parent | b5f70d92c25693e05c8ecbd79c76e5bb35a7ceb5 (diff) |
Cleanup: Use enum class for DataType.
Diffstat (limited to 'source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc b/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc index c395f795a22..87f837973d2 100644 --- a/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc +++ b/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc @@ -46,8 +46,8 @@ BLI_INLINE void warpCoord(float x, float y, float matrix[3][3], float uv[2], flo PlaneDistortWarpImageOperation::PlaneDistortWarpImageOperation() { - this->addInputSocket(COM_DT_COLOR, COM_SC_NO_RESIZE); - this->addOutputSocket(COM_DT_COLOR); + this->addInputSocket(DataType::Color, COM_SC_NO_RESIZE); + this->addOutputSocket(DataType::Color); this->m_pixelReader = nullptr; this->m_motion_blur_samples = 1; this->m_motion_blur_shutter = 0.5f; @@ -147,7 +147,7 @@ bool PlaneDistortWarpImageOperation::determineDependingAreaOfInterest( PlaneDistortMaskOperation::PlaneDistortMaskOperation() { - addOutputSocket(COM_DT_VALUE); + addOutputSocket(DataType::Value); /* Currently hardcoded to 8 samples. */ m_osa = 8; |