Blender Git Loki

Git Commits -> Revision f5648f6

Revision f5648f6 by Porteries Tristan (master)
April 8, 2015, 04:56 (GMT)
BGE : Fix T36285 Wrong viewport scale.

Fix of T36285, I just invalidate projection matrix when a camera switch
to viewport mode, because we need to rewrite the projection matrix in
RenderFrame.
It worked with old blender version because when you use viewport render
one camera is added in the camera list and initialize its projection
matrix for the first time. But when we used several cameras + viewport
for splitscreen we had issues.

Reviewers: dfelinto, hg1, ben2610, lordloki, moguri

Reviewed By: moguri

Projects: #game_rendering, #game_engine

Differential Revision: https://developer.blender.org/D1202

Commit Details:

Full Hash: f5648f6db9f4549d9e3220f89361e5f76e5b2b2a
Parent Commit: 441f68e
Committed By: Jorge Bernal
Lines Changed: +1, -0

1 Modified Path:

/source/gameengine/Ketsji/KX_Camera.cpp (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021