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:
authorCampbell Barton <ideasman42@gmail.com>2021-08-05 09:48:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-05 09:54:34 +0300
commitf5acfd9c04697ee046297e1c7b36d0cef9e2440a (patch)
tree5fe8b83b7f08e6eba5d40a92e0ae30b22d12d0af /source/blender/compositor
parentd8582d966fe4ae46c82fcbb69d3d0ca62238ea93 (diff)
Cleanup: remove redundant parenthesis
Diffstat (limited to 'source/blender/compositor')
-rw-r--r--source/blender/compositor/operations/COM_CryptomatteOperation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_CryptomatteOperation.cc b/source/blender/compositor/operations/COM_CryptomatteOperation.cc
index 52ae1d6d5b5..1a86fadad76 100644
--- a/source/blender/compositor/operations/COM_CryptomatteOperation.cc
+++ b/source/blender/compositor/operations/COM_CryptomatteOperation.cc
@@ -57,8 +57,8 @@ void CryptomatteOperation::executePixel(float output[4], int x, int y, void *dat
::memcpy(&m3hash, &input[0], sizeof(uint32_t));
/* Since the red channel is likely to be out of display range,
* setting green and blue gives more meaningful images. */
- output[1] = ((float)((m3hash << 8)) / (float)UINT32_MAX);
- output[2] = ((float)((m3hash << 16)) / (float)UINT32_MAX);
+ output[1] = ((float)(m3hash << 8) / (float)UINT32_MAX);
+ output[2] = ((float)(m3hash << 16) / (float)UINT32_MAX);
}
for (float hash : m_objectIndex) {
if (input[0] == hash) {