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:
authorJoseph Eagar <joeedh@gmail.com>2021-09-20 01:35:10 +0300
committerJoseph Eagar <joeedh@gmail.com>2021-09-20 01:35:10 +0300
commit336b263b568fad2547014fe50d5810f03daa1677 (patch)
tree2123e97e755c99602c96f1e000b1036087f3e622 /release/scripts
parentb3ed969b862dc8f8eaefaac361800cc6ae316909 (diff)
Sculpt: brush engine stuff
BrushChannels are now stored in linked lists instead of simple arrays. This helps to avoid memory corruption. I had originally wanted to be able to pass BrushChannels by value, but that doesn't really work since they heap allocd data (the input mapping curves).
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/properties_paint_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index b3d9230974e..ee748af74b3 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -137,7 +137,7 @@ class UnifiedPaintPanel:
if ch.inherit:
sd = context.tool_settings.sculpt
#ensure channel exists in tool settings channel set
- sd.channels.ensure(ch, queue=True)
+ sd.channels.ensure(ch)
finalch = sd.channels.channels[prop_name]