diff options
author | Falk David <falkdavid@gmx.de> | 2021-04-19 13:19:42 +0300 |
---|---|---|
committer | Falk David <falkdavid@gmx.de> | 2021-04-19 13:20:05 +0300 |
commit | eb06ccc32462beaacbb114d6d0e450b6fc911047 (patch) | |
tree | 903c9ab55a7305aeefbb4a9a2b96f9f93af7bff2 /build_files | |
parent | 799f532f4698ff07353a384ed99131042b5e05de (diff) |
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: https://developer.blender.org/D10976
Diffstat (limited to 'build_files')
0 files changed, 0 insertions, 0 deletions