From 7b9fb3259157cea2df5e7b461d04f55cfa380031 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 8 Apr 2018 09:28:52 +0200 Subject: Python API: remove preview/render resolution settings from API functions. For correct results these must have been set already when the depsgraph was created and evaluated, so all dependencies have appropriate resolutions too. For particle we no longer backup and restore the viewport particles to avoid overwriting them during render, as copy-on-write solves this for us. Even without COW particles seem to work ok. This also removes the particle simplification options based on camera. This was never used much and only available in Blender Internal. Differential Revision: https://developer.blender.org/D3148 --- intern/cycles/blender/blender_sync.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (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 80316757798..468e287038c 100644 --- a/intern/cycles/blender/blender_sync.h +++ b/intern/cycles/blender/blender_sync.h @@ -120,8 +120,7 @@ private: BL::Object& b_ob_instance, bool object_updated, bool hide_tris); - void sync_curves(BL::Depsgraph& b_depsgraph, - Mesh *mesh, + void sync_curves(Mesh *mesh, BL::Mesh& b_mesh, BL::Object& b_ob, bool motion, -- cgit v1.2.3