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!
This commit is contained in:
Sergey Sharybin 2019-07-31 18:20:18 +02:00
parent bcda8cc89b
commit 4c12764a7f
1 changed files with 1 additions and 1 deletions

View File

@ -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)