Page MenuHome

Cleanup: Simplify check and reset of ID->recalc flags
Needs ReviewPublic

Authored by Sergey Sharybin (sergey) on Oct 15 2020, 3:34 PM.

Details

Summary

Compare to 0 when it is needed to know whether there are any
recalc bits set. Set to 0 when the ID is fully updated.

The ID_RECALC_ALL was used for such checks due to legacy reasons,
where particle system recalc flags were encoded into same field
in DNA but used different set of bits. Now all recalc bits have
common nature, no need to separate them.

Since the ID_RECALC_ALL is assigned to all ones in binary there
expected to be no changes in behavior.

Diff Detail

Repository
rB Blender
Branch
cleanup_remove_recalc_all (branched from master)
Build Status
Buildable 10739
Build 10739: arc lint + arc unit

Event Timeline

Sergey Sharybin (sergey) requested review of this revision.Oct 15 2020, 3:34 PM
Sergey Sharybin (sergey) created this revision.