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:
authorJeroen Bakker <jeroen@blender.org>2022-03-21 17:37:27 +0300
committerJeroen Bakker <jeroen@blender.org>2022-03-21 17:37:27 +0300
commit62499cff237cb381950b3443bdb387ebe4faca64 (patch)
tree25a042383903202b8e709eddc654a03f8a0d3fca
parent94d7db2cc0024823202f5984be832ced0ec219b3 (diff)
Fix storing the mask texture in the right brush.temp-3d-texturing-brush-b
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py2
1 files changed, 1 insertions, 1 deletions
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