diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-07 18:29:31 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-07 18:36:25 +0300 |
commit | ba1197fe5e27f1cb7be281b3f20166a69050a273 (patch) | |
tree | d2852f12af386701db2f3c8dddf96b185efb248e /source/blender/editors/space_view3d/view3d_draw.c | |
parent | f16199d479189f1f142aebecf896182a7276c483 (diff) |
Depsgraph: Simplify some workarounds and make API closer to final
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index ec2dcc75bc0..75d064bbbac 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -2057,7 +2057,8 @@ void ED_view3d_draw_offscreen( } else { /* XXX, should take depsgraph as arg */ - Depsgraph *depsgraph = BKE_scene_get_depsgraph(scene, scene_layer); + Depsgraph *depsgraph = BKE_scene_get_depsgraph(scene, scene_layer, false); + BLI_assert(depsgraph != NULL); DRW_draw_render_loop_offscreen(depsgraph, eval_ctx->engine, ar, v3d, ofs); } |