Brushstroke Tools: Initial Version #328

Merged
Simon Thommes merged 229 commits from SimonThommes/blender-studio-tools:brushstroke_tools-initial-version into main 2024-11-06 15:03:47 +01:00
Showing only changes of commit 23f7be2532 - Show all commits

View File

@ -134,6 +134,7 @@ def set_brush_style(self, value):
ng_name = f'BSBST-BS.{value}'
ng = utils.ensure_node_group(ng_name, [bs for bs in addon_prefs.brush_styles if bs.name==value][0].filepath)
if utils.compare_versions(bpy.app.version, (4,2,4)) >= 0:
if ng.preview:
utils.set_preview(ng.preview.image_pixels_float, ng.preview.image_size[:])
else: