diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-02-02 14:54:38 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-02-02 17:32:35 +0300 |
commit | 9e0c876aadd9641fa9e8d6d8717c757b8b528d8b (patch) | |
tree | f5787a0bf889c68a421d97cd656a400dbac3ffff /source/blender/blenkernel/BKE_geometry_set.hh | |
parent | 1d77302fd9ea9b3892ebdcf28150b3f7d40aeb21 (diff) |
Fix T85301: Eevee does not respect collection instance offset for hair
This resulted in hair drawing with an offset if an instance_offset was
set.
note: Usually the instance_offset gets combined with the objects obmat
in 'make_duplis_collection' / 'make_dupli', see
> /* Combine collection offset and `obmat`. */
Using the resulting DupliObject->mat instead does include the
instance_offset, but this results in double-transforms (something that I
have not investigated further), so now reconstruct the correct matrix
from scratch.
Maniphest Tasks: T85301
Differential Revision: https://developer.blender.org/D10285
Diffstat (limited to 'source/blender/blenkernel/BKE_geometry_set.hh')
0 files changed, 0 insertions, 0 deletions