Fix T102053: snap fails with instances of geometry nodes
As instances are often generated geometries, we cannot rely on the data provided by `DupliObject::ob`. Use `DupliObject::ob_data` when possible. This required a major refactor in the code as the output variables are now gathered in context and easier to access.
This commit is contained in:
parent
b2db324f60
commit
ff4f14b21a
Notes:
blender-bot
2023-10-16 22:27:19 +02:00
Referenced by commit688b408bbb
, Fix 'ED_transform_snap_object_project_ray_all' not return 'hit_list' Referenced by issue #102053, Set material geometry node and mesh primitives break depth buffer Referenced by commitbbf87ee78c
, Fix #113786: Snapping to vertex is broken, when instances are used in GN