Blender Git Loki

Git Commits -> Revision 7e33301

Revision 7e33301 by Brecht Van Lommel (master)
December 8, 2009, 18:28 (GMT)
Animation System: Handling Updates

* Added ANIM_list_elem_update and ANIM_id_update functions to call when
changing animation curves, which will then call the RNA property update
functions for those curves.

This is to replace just calling DAG_id_flush_update, that may not always
be the right thing to do, and doesn't send proper notifiers for redraw.

Still only used/usable when transforming in the graph editor, not sure
how this do this with NLA for example, .. needs to be improved.

* Added function wm_data_handle_update function to contain the object
update function, and also added scene animation update there. Actually
it should be doing all datablocks, this makes it work for sequencer.


Joshua, do you agree this is the right direction to go in? I can revert or
change the code if you think it should be done differently. Mainly wanted
to get this working well for sequencer now.

Commit Details:

Full Hash: 7e333010f3b76a467b88e80605df55b8f559bcda
SVN Revision: 25221
Parent Commit: 445e4c9
Lines Changed: +102, -38

4 Modified Paths:

/source/blender/editors/animation/anim_deps.c (+58, -0) (Diff)
/source/blender/editors/include/ED_anim_api.h (+3, -0) (Diff)
/source/blender/editors/transform/transform_generics.c (+3, -20) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+38, -18) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021