Fix cycles continuously updating when creating a driver for a scene property,
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 6 Sep 2012 11:35:16 +0000 (11:35 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 6 Sep 2012 11:35:16 +0000 (11:35 +0000)
commitf647348420758b1b1d1bb4ab82c70caaee571d99
tree2e0f933bc1fe359e2a73ffb226fd1e64832c6d97
parenta18b60c0c893a3684ca310100d11a05660cdaf7e
Fix cycles continuously updating when creating a driver for a scene property,
like driving integrator seed with #frame.

The scene drivers are evaluated continuously, which would be nice to fix but
complicated, now it compares the RNA value to see if it actually changed, and
avoids the update in that case, which is a useful optimization by itself.

(merged from tomato branch)
source/blender/blenkernel/intern/anim_sys.c