Blender Git Loki
Git Commits -> Revision 7b9fb32
Revision 7b9fb32 by Brecht Van Lommel (master) April 13, 2018, 12:38 (GMT) |
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 |
Commit Details:
Full Hash: 7b9fb3259157cea2df5e7b461d04f55cfa380031
Parent Commit: a1e2415
Lines Changed: +128, -924
29 Modified Paths:
/intern/cycles/blender/blender_curves.cpp (+1, -21) (Diff)
/intern/cycles/blender/blender_mesh.cpp (+4, -8) (Diff)
/intern/cycles/blender/blender_shader.cpp (+4, -14) (Diff)
/intern/cycles/blender/blender_sync.h (+1, -2) (Diff)
/intern/cycles/blender/blender_texture.cpp (+0, -2) (Diff)
/intern/cycles/blender/blender_texture.h (+0, -1) (Diff)
/intern/cycles/blender/blender_util.h (+2, -4) (Diff)
/release/scripts/startup/bl_ui/properties_particle.py (+0, -16) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_particle.h (+6, -34) (Diff)
/source/blender/blenkernel/intern/mesh.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/particle.c (+18, -217) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+18, -261) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+24, -26) (Diff)
/source/blender/blenloader/intern/readfile.c (+0, -1) (Diff)
/source/blender/blenloader/intern/versioning_legacy.c (+0, -7) (Diff)
/source/blender/editors/object/object_bake_api.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+1, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp (+0, -1) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+0, -8) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+9, -29) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+5, -20) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+4, -8) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+19, -125) (Diff)
/source/blender/render/intern/source/convertblender.c (+2, -77) (Diff)
/source/blender/render/intern/source/pointdensity.c (+1, -33) (Diff)
/intern/cycles/blender/blender_mesh.cpp (+4, -8) (Diff)
/intern/cycles/blender/blender_shader.cpp (+4, -14) (Diff)
/intern/cycles/blender/blender_sync.h (+1, -2) (Diff)
/intern/cycles/blender/blender_texture.cpp (+0, -2) (Diff)
/intern/cycles/blender/blender_texture.h (+0, -1) (Diff)
/intern/cycles/blender/blender_util.h (+2, -4) (Diff)
/release/scripts/startup/bl_ui/properties_particle.py (+0, -16) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_particle.h (+6, -34) (Diff)
/source/blender/blenkernel/intern/mesh.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/particle.c (+18, -217) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+18, -261) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+24, -26) (Diff)
/source/blender/blenloader/intern/readfile.c (+0, -1) (Diff)
/source/blender/blenloader/intern/versioning_legacy.c (+0, -7) (Diff)
/source/blender/editors/object/object_bake_api.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+1, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp (+0, -1) (Diff)
/source/blender/makesdna/DNA_particle_types.h (+0, -8) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+9, -29) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+5, -20) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+4, -8) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+19, -125) (Diff)
/source/blender/render/intern/source/convertblender.c (+2, -77) (Diff)
/source/blender/render/intern/source/pointdensity.c (+1, -33) (Diff)