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:
Germano Cavalcante 2022-11-06 12:24:20 -03:00
parent b2db324f60
commit ff4f14b21a
Notes: blender-bot 2023-10-16 22:27:19 +02:00
Referenced by commit 688b408bbb, 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 commit bbf87ee78c, Fix #113786: Snapping to vertex is broken, when instances are used in GN
1 changed files with 424 additions and 475 deletions

File diff suppressed because it is too large Load Diff