[Bf-blender-cvs] [6e4cf78] framebuffer: Fix linux building

Dalai Felinto noreply at git.blender.org
Mon Oct 19 15:38:21 CEST 2015


Commit: 6e4cf78d104dfa268cf58482eac82a06f6917c7c
Author: Dalai Felinto
Date:   Mon Oct 19 11:28:42 2015 -0200
Branches: framebuffer
https://developer.blender.org/rB6e4cf78d104dfa268cf58482eac82a06f6917c7c

Fix linux building

===================================================================

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 87294db..0e75edb 100644
--- a/source/blender/python/intern/gpu_offscreen.c
+++ b/source/blender/python/intern/gpu_offscreen.c
@@ -219,6 +219,7 @@ static PyObject *pygpu_offscreen_draw_view3d(PyGPUOffScreen *self, PyObject *arg
 	View3D *v3d;
 	ARegion *ar;
 	GPUFX *fx;
+	GPUFXSettings fx_settings;
 
 	static const char *kwlist[] = {"scene", "region", "view3d", "projection_matrix", "modelview_matrix", NULL};
 
@@ -252,7 +253,7 @@ static PyObject *pygpu_offscreen_draw_view3d(PyGPUOffScreen *self, PyObject *arg
 
 	fx = GPU_fx_compositor_create();
 
-	GPUFXSettings fx_settings = v3d->fx_settings; /* full copy */
+	fx_settings= v3d->fx_settings; /* full copy */
 
 	ED_view3d_draw_offscreen_init(scene, v3d);




More information about the Bf-blender-cvs mailing list