Page MenuHome

Geometry Nodes: fix Store Named Attribute for vertex groups.
AbandonedPublic

Authored by Alexander Gavrilov (angavrilov) on Jul 20 2022, 2:21 PM.

Details

Summary

For some reason the evaluation code for this node starts with
deleting the attribute, which destroys its Vertex Group status
and the data is written as an abstract custom attribute. It is
much more logical to first try writing to the existing attribute.

Diff Detail

Repository
rB Blender
Branch
temp-angavrilov-geonode-store-vg (branched from master)
Build Status
Buildable 23077
Build 23077: arc lint + arc unit

Event Timeline

Alexander Gavrilov (angavrilov) requested review of this revision.Jul 20 2022, 2:21 PM
Alexander Gavrilov (angavrilov) created this revision.

Note that I only tested this with the vertex groups, so can't guarantee there are no negative side effects in other areas. This also doesn't address the removal issues from the bug report.

Thanks for the patch. I looked into solving this part of the problem a bit differently though, just to make the logic a bit clearer: D15514