Page MenuHome

Geometry Nodes: New duplicate node group and assign operator
AbandonedPublic

Authored by Hans Goudey (HooglyBoogly) on Jan 9 2021, 12:11 AM.

Details

Reviewers
None
Group Reviewers
Geometry Nodes
Maniphest Tasks
T84652: Duplicate and assign operator for ID template
Summary

The duplicate operatos need to be a bit more complicated in this case,
because they need to assign the new geometry node group to the active
modifier. This adds an operator that duplicates the node group from
the active modifier and assigns the result to the active modifier.

Note that I think we might need to implement these operators in C to
do manual managing of users, right now the new and duplicate operators
don't reduce the user count of the original. But that can be done in a
separate patch if it actually is necessary.

Diff Detail

Repository
rB Blender
Branch
geometry-nodes-duplicate-operator (branched from master)
Build Status
Buildable 12060
Build 12060: arc lint + arc unit

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.Jan 9 2021, 12:11 AM
Hans Goudey (HooglyBoogly) created this revision.

With the changes to the ID template reverted for 2.92, this is no longer necessary. And actually when the ID template changes again for 2.93, the default duplicate operators should cover this.