[Bf-blender-cvs] [ff0cd38] framebuffer: Projection and Modelview matrix were swapped
Dalai Felinto
noreply at git.blender.org
Mon Oct 19 18:08:25 CEST 2015
Commit: ff0cd3823041ba3a555ced880a77f73ed4ad2491
Author: Dalai Felinto
Date: Mon Oct 19 14:08:13 2015 -0200
Branches: framebuffer
https://developer.blender.org/rBff0cd3823041ba3a555ced880a77f73ed4ad2491
Projection and Modelview matrix were swapped
===================================================================
M source/blender/python/intern/gpu_offscreen.c
===================================================================
diff --git a/source/blender/python/intern/gpu_offscreen.c b/source/blender/python/intern/gpu_offscreen.c
index 0f22d50..e6371fe 100644
--- a/source/blender/python/intern/gpu_offscreen.c
+++ b/source/blender/python/intern/gpu_offscreen.c
@@ -247,7 +247,7 @@ static PyObject *pygpu_offscreen_draw_view3d(PyGPUOffScreen *self, PyObject *arg
ED_view3d_draw_offscreen(
scene, v3d, ar, GPU_offscreen_width(self->ofs), GPU_offscreen_height(self->ofs),
- (float(*)[4])py_mat_projection->matrix, (float(*)[4])py_mat_modelview->matrix,
+ (float(*)[4])py_mat_modelview->matrix, (float(*)[4])py_mat_projection->matrix,
false, true, true, "",
fx, &fx_settings,
self->ofs);
More information about the Bf-blender-cvs
mailing list