All matrices in a batch need to be 2D safe when merging.
authorGunnar Sletta <gunnar.sletta@digia.com>
Mon, 7 Oct 2013 08:17:56 +0000 (10:17 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 8 Oct 2013 06:47:47 +0000 (08:47 +0200)
commit48e32cfabed8527ac788142393226ad931d29420
tree56dea39df23e23c26f632216ec0c9e72ab415356
parentaeb8416d948b69d55dda45ed4ebe85585325fedc
All matrices in a batch need to be 2D safe when merging.

If we merge geometry nodes that make actual use of the
z-coordinate, this information becomes lost when merging
and the result is that we end up with an arbitrary
wrongfully applied transformation to the merged element.

Task-number: QTBUG-33897
Change-Id: I6129243e9bb890949023c35dc6b7bce30d31709a
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp
src/quick/scenegraph/coreapi/qsgbatchrenderer_p.h