Page MenuHome

Fix unnecessary modifier visibility re-evaluation
ClosedPublic

Authored by Sergey Sharybin (sergey) on Aug 30 2022, 4:39 PM.

Details

Summary

While it is hard to measure the performance impact accurately, there
is no need to perform per-modifier string lookup on every frame update.

Implemented as an exceptional case in the code which flushes updates to
the entire component. Sounds a bit suboptimal, but there are already
other exception cases handled in the function.

Diff Detail

Repository
rB Blender

Event Timeline

Sergey Sharybin (sergey) requested review of this revision.Aug 30 2022, 4:39 PM
Sergey Sharybin (sergey) created this revision.
This revision is now accepted and ready to land.Aug 30 2022, 5:55 PM