diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-31 19:20:18 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-31 19:21:08 +0300 |
commit | 4c12764a7f3c9a41e0d72ba5e950fff1946f5b50 (patch) | |
tree | 13f631f2afbe9db6c8e463d98d3725add6b99d56 /source | |
parent | bcda8cc89b88c999ff64edcc19973d6289bcbf2a (diff) |
Fix negative boolean
Was a nice looking invention, but is obviously wrong.
Is likely no function changes, since -false is like -0
which is 0 and which false. And -true is like -<non-zero> which
is non-zero as well.
Spotted by Sybren, thanks!
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/anim_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c index 309112d4e72..c2fcb99a3be 100644 --- a/source/blender/blenkernel/intern/anim_sys.c +++ b/source/blender/blenkernel/intern/anim_sys.c @@ -3920,7 +3920,7 @@ void BKE_animsys_evaluate_all_animation(Main *main, printf("Evaluate all animation - %f\n", ctime); } - const bool flush_to_original = -DEG_is_active(depsgraph); + const bool flush_to_original = DEG_is_active(depsgraph); /* macros for less typing * - only evaluate animation data for id if it has users (and not just fake ones) |