Blender Git Commit Log

Git Commits -> Revision eb06ccc

Revision eb06ccc by Falk David (master)
April 19, 2021, 10:20 (GMT)
Fix T87448: Avoid uiBut update if value was same

Previously, clicking into a number field, changing nothing and then
clicking outside the field again would trigger an update (RNA prop
would be set to the same value again). This could potentially cause
an expensive operation (like a modifer) to run again, even if all the
parameters were identical.

The fix prevents this by treating unchanging values in the field as a
cancel operation.

Reviewed By: Severin

Maniphest Tasks: T87448

Differential Revision:

Commit Details:

Full Hash: eb06ccc32462beaacbb114d6d0e450b6fc911047
Parent Commit: 799f532
Lines Changed: +6, -0

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021