diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-02-18 01:38:28 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-02-18 01:38:28 +0300 |
commit | b337cc1c21cf9e77f25dd47baea1d2fa4b7d368d (patch) | |
tree | 199b9ae8c5fba3059c35fcfa56cc687ce3657a52 /source/blender/editors/space_view3d/view3d_draw.c | |
parent | d74189a78a195c4849236cbd1a1fe37dae141994 (diff) |
Do not allocate an XRay buffer if compositing is dnot one for offscreen
rendering.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 00a67dc3dd7..0878f2b7aa7 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -3133,7 +3133,7 @@ void ED_view3d_draw_offscreen( } /* main drawing call */ - view3d_draw_objects(NULL, scene, v3d, ar, NULL, do_bgpic, true, fx); + view3d_draw_objects(NULL, scene, v3d, ar, NULL, do_bgpic, true, do_compositing ? fx : NULL); /* post process */ if (do_compositing) { |