Blender Git Loki

Git Commits -> Revision e69ec8b

Revision e69ec8b by Joshua Leung (master)
June 7, 2012, 05:29 (GMT)
Bugfix [#31735] Performance issue related to object parenting to armature

In the file included with the bugreport, framerates were dropping from 60fps to
11fps for an armature with several lattices parented, and a 5fps drop everytime
an object was parented to the armature.

Upon (re-)inspection of the code, it became apparent that this was being caused
by a block of code that would recalculate the parent (perhaps recursively) as it
thought the parent state was for the wrong timestamp. However, the timestamps
this was using was never really updated (except for a single place, which set it
to a single fixed value to force recalculations to take place), which meant that
this branch was run all the time. AFACT, this is a remnant from some of the old
timeoffset stuff + pre-Depsgraph timestamping hacks that are no longer used/set.

Commit Details:

Full Hash: e69ec8be5554a774612b8eeb15a2f00a327cc795
SVN Revision: 47554
Parent Commit: ebb2dc8
Lines Changed: +2, -28

3 Modified Paths:

/source/blender/blenkernel/intern/object.c (+2, -23) (Diff)
/source/blender/blenkernel/intern/scene.c (+0, -2) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+0, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021