Fix Cycles to mostly work with render layer / depsgraph changes.
[blender.git] / intern / cycles / blender / blender_session.h
index cbd2303d2825b04e3582308261a7e0e78c0736f2..bd71087c16a8cbb540dac80926c9eeb553a9976a 100644 (file)
@@ -58,9 +58,10 @@ public:
                           BL::Scene& b_scene);
 
        /* offline render */
-       void render();
+       void render(BL::Depsgraph& b_depsgraph);
 
-       void bake(BL::Object& b_object,
+       void bake(BL::Depsgraph& b_depsgrah,
+                 BL::Object& b_object,
                  const string& pass_type,
                  const int custom_flag,
                  const int object_id,
@@ -82,7 +83,7 @@ public:
        void update_render_tile(RenderTile& rtile, bool highlight);
 
        /* interactive updates */
-       void synchronize();
+       void synchronize(BL::Depsgraph& b_depsgraph);
 
        /* drawing */
        bool draw(int w, int h);