[Bf-blender-cvs] [62499cff237] temp-3d-texturing-brush-b: Fix storing the mask texture in the right brush.

Jeroen Bakker noreply at git.blender.org
Mon Mar 21 15:37:59 CET 2022


Commit: 62499cff237cb381950b3443bdb387ebe4faca64
Author: Jeroen Bakker
Date:   Mon Mar 21 15:37:27 2022 +0100
Branches: temp-3d-texturing-brush-b
https://developer.blender.org/rB62499cff237cb381950b3443bdb387ebe4faca64

Fix storing the mask texture in the right brush.

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

M	release/scripts/startup/bl_ui/space_view3d_toolbar.py

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

diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 880362a8598..190c7ee23fd 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -652,7 +652,7 @@ class VIEW3D_PT_tools_mask_texture(Panel, View3DPaintPanel, TextureMaskPanel):
     def draw(self, context):
         layout = self.layout
 
-        brush = context.tool_settings.image_paint.brush
+        brush = context.tool_settings.sculpt.brush
 
         col = layout.column()
         mask_tex_slot = brush.mask_texture_slot



More information about the Bf-blender-cvs mailing list