From 4660c00ac57effeb9598bb3083900dc354a4f43f Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 17 Feb 2015 16:23:03 +0500 Subject: Cycles: Make blender session aware of rendering from command line This way we can do some more aggressive policy about releasing temporary data during synchronization. --- intern/cycles/blender/blender_sync.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'intern/cycles/blender/blender_sync.h') diff --git a/intern/cycles/blender/blender_sync.h b/intern/cycles/blender/blender_sync.h index 8f851a14bfc..a16824f6873 100644 --- a/intern/cycles/blender/blender_sync.h +++ b/intern/cycles/blender/blender_sync.h @@ -63,7 +63,11 @@ public: /* get parameters */ static SceneParams get_scene_params(BL::Scene b_scene, bool background, bool is_cpu); - static SessionParams get_session_params(BL::RenderEngine b_engine, BL::UserPreferences b_userpref, BL::Scene b_scene, bool background); + static SessionParams get_session_params(BL::RenderEngine b_engine, + BL::UserPreferences b_userpref, + BL::Scene b_scene, + bool background, + bool headless); static bool get_session_pause(BL::Scene b_scene, bool background); static BufferParams get_buffer_params(BL::RenderSettings b_render, BL::Scene b_scene, BL::SpaceView3D b_v3d, BL::RegionView3D b_rv3d, Camera *cam, int width, int height); -- cgit v1.2.3