Page MenuHome

Fix T87615: No snapping to objects instanced by Geometry nodes
ClosedPublic

Authored by Germano Cavalcante (mano-wii) on Apr 19 2021, 10:17 PM.

Details

Summary

The code of the snapping system to interact the objects in the scene only
considers instacias what comes from "DUPLI" objects.

This patch proposes to add other types of instances as it is also seen in
the BKE_object_visibility function.

(Clang formatting came by surprise).

Ref T87615

Diff Detail

Repository
rB Blender
Branch
master
Build Status
Buildable 14110
Build 14110: arc lint + arc unit

Event Timeline

Germano Cavalcante (mano-wii) requested review of this revision.Apr 19 2021, 10:17 PM
Germano Cavalcante (mano-wii) created this revision.

LGTM.
I still have to add a more general BKE_object_has_instances or so, but that can be done separately.

This revision is now accepted and ready to land.Apr 22 2021, 1:00 PM