diff options
author | Joseph Eagar <joeedh@gmail.com> | 2021-09-20 01:35:10 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2021-09-20 01:35:10 +0300 |
commit | 336b263b568fad2547014fe50d5810f03daa1677 (patch) | |
tree | 2123e97e755c99602c96f1e000b1036087f3e622 /release/scripts | |
parent | b3ed969b862dc8f8eaefaac361800cc6ae316909 (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.py | 2 |
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] |