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;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs