Page MenuHome

Geometry Nodes: Remove object transform dependency in some cases
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on Jan 31 2022, 11:25 PM.

Details

Summary

The geometry nodes modifier currently always adds a dependency
relation from the evaluated geometry to the object transform. However,
that can be avoided unless there is a collection or object info node in
"Relative" mode.

In order to avoid requiring dependency graph relations updates often
when editing a node tree, this patch doesn't check if the node is muted
or if the data-block sockets are empty before adding the dependency.

Fixes T95265

Diff Detail

Repository
rB Blender

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.Jan 31 2022, 11:25 PM
Hans Goudey (HooglyBoogly) created this revision.
Jacques Lucke (JacquesLucke) added inline comments.
source/blender/modifiers/intern/MOD_nodes.cc
274

needs_own_transform_relation
The current name could also refer to the transforms of other objects.

This revision is now accepted and ready to land.Feb 1 2022, 11:13 AM