Blender Git Commit Log
Git Commits -> Revision fc5eab3
Revision fc5eab3 by Sybren A. Stüvel (master) August 18, 2020, 10:58 (GMT) |
Mesh: merge `mesh_create_eval_final_{view,render}` functions Functions `mesh_create_eval_final_view()` and `mesh_create_eval_final_render()` were doing the exact same thing, except for a hack introduced in d3eb9dddd6b4 (2012-10-08, Better fix for T32846: dupligroup messes up particle instancing on rendering) that appears to be no longer necessary. Besides that, these functions had confusing names. Their functionality changed over time, and whether to do for-render or for-viewport evaluation is now actually determined by the depsgraph evaluation mode. This means that the `..._render` function could evaluate a mesh with viewport settings, and vice versa. The functions are now merged into `mesh_create_eval_final()`, and the hack has been removed. The `OB_NO_PSYS_UPDATE` flag has been removed entirely (instead of keeping it around as deprecated flag), because it was always only temporarily set on objects during mesh evaluation and thus not saved to the blend file. No expected functional changes as far as users are concerned. |
Commit Details:
Full Hash: fc5eab357009f10fe68bb19a5d48f3ff7ab8825a
Parent Commit: e371378
Lines Changed: +8, -43
9 Modified Paths:
/source/blender/blenkernel/BKE_mesh_runtime.h (+1, -6) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+1, -21) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+1, -9) (Diff)
/source/blender/editors/object/object_modifier.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+0, -2) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+1, -1) (Diff)
/source/blender/python/bmesh/bmesh_py_types.c (+1, -1) (Diff)
/source/blender/python/mathutils/mathutils_bvhtree.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+1, -21) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+1, -9) (Diff)
/source/blender/editors/object/object_modifier.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+0, -2) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+1, -1) (Diff)
/source/blender/python/bmesh/bmesh_py_types.c (+1, -1) (Diff)
/source/blender/python/mathutils/mathutils_bvhtree.c (+1, -1) (Diff)