Blender Git Loki

Git Commits -> Revision 9e0c876

Revision 9e0c876 by Philipp Oeser (master)
February 2, 2021, 14:32 (GMT)
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

Commit Details:

Full Hash: 9e0c876aadd9641fa9e8d6d8717c757b8b528d8b
Parent Commit: 1d77302
Lines Changed: +14, -2

2 Modified Paths:

/source/blender/draw/engines/overlay/overlay_wireframe.c (+7, -1) (Diff)
/source/blender/draw/intern/draw_hair.c (+7, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021