bugfix [#25208] randomize transform doesn't work on objects with keyframes
authorCampbell Barton <ideasman42@gmail.com>
Thu, 16 Dec 2010 19:26:54 +0000 (19:26 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 16 Dec 2010 19:26:54 +0000 (19:26 +0000)
commiteecfc0fbb2892875d29879ebcb82289941ac4b1d
treefd808e8ab50a0a7dac62d09a8c5105b0d6d3096b
parentfef0549ea5f09d5d83066b9c5cc232f8f0b0568a
bugfix [#25208] randomize transform doesn't work on objects with keyframes

Surprising this wasnt noticed in a much more obvious case:
 - Key Location, Move, Rotate, Undo-Rotate >> Resets to keyed location as well.

This was happening because DAG_on_load_update() was called on read_undosave(), flagging 'ob->adt->recalc |= ADT_RECALC_ANIM;'

Fix by adding an option to DAG_on_load_update(), not to recalculate time flags.
source/blender/blenkernel/BKE_depsgraph.h
source/blender/blenkernel/intern/anim.c
source/blender/blenkernel/intern/blender.c
source/blender/blenkernel/intern/depsgraph.c
source/blender/blenkernel/intern/scene.c
source/blender/editors/space_view3d/view3d_header.c
source/blender/windowmanager/intern/wm_files.c