Blender Git Commit Log
Git Commits -> Revision f030758
Revision f030758 by Sergey Sharybin (master) August 19, 2013, 09:58 (GMT) |
Tag object-data level boundbox as invalid rather than freeing it Object update used to free object-data level bounding box to trigger it's re-calculation in the future. Such a freeing performed from object update isn't thread-safe because mesh could be shared between multiple objects. Rather than freeing bounding box, tag it's as invalid, this is safe from threading point of view and also prevents unnecessary memory re-allocation. Object-level bounding box is still reallocating, but think we could change this easily in the future as well. -- svn merge -r58154:58156 -r59258:59259 ^/branches/soc-2013-depsgraph_mt |
Commit Details:
Full Hash: f030758515f5b1ecaf4ff9b9454094ec9aae1ffb
SVN Revision: 59269
Parent Commit: 2dcb1d7
Lines Changed: +54, -22
8 Modified Paths:
/source/blender/blenkernel/BKE_curve.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/curve.c (+26, -0) (Diff)
/source/blender/blenkernel/intern/mesh.c (+5, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+9, -14) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/curve.c (+26, -0) (Diff)
/source/blender/blenkernel/intern/mesh.c (+5, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+9, -14) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+4, -2) (Diff)