[Bf-blender-cvs] [4d2a4f8582c] temp-T96710-pbvh-pixels: Silenced compilation warning CLANG.

Jeroen Bakker noreply at git.blender.org
Mon Apr 11 11:31:39 CEST 2022


Commit: 4d2a4f8582cd99bc3ba436d86df4aa5d04868428
Author: Jeroen Bakker
Date:   Mon Apr 11 11:31:35 2022 +0200
Branches: temp-T96710-pbvh-pixels
https://developer.blender.org/rB4d2a4f8582cd99bc3ba436d86df4aa5d04868428

Silenced compilation warning CLANG.

===================================================================

M	source/blender/editors/sculpt_paint/sculpt.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 2439ef08c5f..be100007ee1 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -5101,7 +5101,7 @@ void SCULPT_flush_update_step(bContext *C, SculptUpdateType update_flags)
 
   if ((update_flags & SCULPT_UPDATE_IMAGE) != 0) {
     ED_region_tag_redraw(region);
-    if ((update_flags == SCULPT_UPDATE_IMAGE)) {
+    if (update_flags == SCULPT_UPDATE_IMAGE) {
       /* Early exit when only need to update the images. We don't want to tag any geometry updates
        * that would rebuilt the PBVH. */
       return;



More information about the Bf-blender-cvs mailing list