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);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs