[Bf-blender-cvs] [ae13c11a95b] temp-T96710-pbvh-pixels: Fix painting on UDIM tiles.

Jeroen Bakker noreply at git.blender.org
Wed Apr 13 15:44:28 CEST 2022


Commit: ae13c11a95b423b8ca69cacf18edf6d23a160569
Author: Jeroen Bakker
Date:   Wed Apr 13 15:44:15 2022 +0200
Branches: temp-T96710-pbvh-pixels
https://developer.blender.org/rBae13c11a95b423b8ca69cacf18edf6d23a160569

Fix painting on UDIM tiles.

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

M	source/blender/editors/sculpt_paint/sculpt_paint_image.cc

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

diff --git a/source/blender/editors/sculpt_paint/sculpt_paint_image.cc b/source/blender/editors/sculpt_paint/sculpt_paint_image.cc
index 7b6d6091dce..963e84168e0 100644
--- a/source/blender/editors/sculpt_paint/sculpt_paint_image.cc
+++ b/source/blender/editors/sculpt_paint/sculpt_paint_image.cc
@@ -344,8 +344,8 @@ static void do_paint_pixels(void *__restrict userdata,
 
         BKE_image_release_ibuf(data->image_data.image, image_buffer, nullptr);
         pixels_updated |= tile_data.flags.dirty;
+        break;
       }
-      break;
     }
   }



More information about the Bf-blender-cvs mailing list