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 9ea82ce653
commit 8f4e52b7e0
Notes: blender-bot 2023-02-14 01:11:05 +01:00
Referenced by commit be40c67b56, Fix T102512: Snapping Option Face Nearest is not working
Referenced by issue #102053, Set material geometry node and mesh primitives break depth buffer
1 changed files with 441 additions and 483 deletions

File diff suppressed because it is too large Load Diff