inca / blender-differential-growth

Blender Addon: Differential Growth
https://boris.okunskiy.name/posts/blender-differential-growth
639 stars 27 forks source link

Blender 3.6 support for the add-on #15

Open julscloudops opened 1 year ago

julscloudops commented 1 year ago

Hello!

I love this add-on and wanted to use it on Blender 3.6 with Simulation Nodes, do you know if it's supported or was a breaking change introduced?

I tried to get it to work but I was receiving this error when triggering the Differential Growth ( I made sure to create a vertex group before triggering it):

Python: Traceback (most recent call last): File "C:\Users\jcamp\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-differential-growth-2-1-1\op_grow.py", line 22, in execute grow_step( File "C:\Users\jcamp\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-differential-growth-2-1-1\op_grow.py", line 52, in grow_step w = get_vertex_weight(bm, vert, group_index) File "C:\Users\jcamp\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-differential-growth-2-1-1\op_grow.py", line 111, in get_vertex_weight weights = vert[weight_layer] AttributeError: BMElem[key]: invalid key, must be a BMLayerItem

Kind regards.

inca commented 1 year ago

Hey, this usually happens when you try it in Edit mode. Try using it in Object or Weight Paint mode.