diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-08-30 09:59:45 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-09-07 13:58:41 -0700 |
commit | 37de1df2ab388d4ba21a466231f07f66fe0cc5fd (patch) | |
tree | 57f553d143d996c57c0e9971dfd63e71a5bdf88d /scene/2d/node_2d.cpp | |
parent | ca11f8ad3045c280b559adea4e2263c38c2c6df4 (diff) |
Fix undo/redo for properties set as PROPERTY_USAGE_UPDATE_ALL_IF_MODIFIED
Full inspector update was triggered only on property changed, but not on
undo/redo actions, which can cause inspector discrepancies when some
properties are supposed to be shown or hidden.
Now update all flag is passed into _edit_set() method which already has
logic to handle this case properly (it still triggers update_tree() down
the line).
Diffstat (limited to 'scene/2d/node_2d.cpp')
0 files changed, 0 insertions, 0 deletions