diff options
author | simpuid <utkarsh.email@yahoo.com> | 2020-02-29 08:55:28 +0530 |
---|---|---|
committer | simpuid <utkarsh.email@yahoo.com> | 2020-02-29 16:52:12 +0530 |
commit | f817ba83795ed4a8a44e569cce58bc37522860c0 (patch) | |
tree | a5306c10aab7409fb2d9b1c6379c524590243dd7 /scene/2d/parallax_background.cpp | |
parent | 5bbb057cc9107d0585ab9e6b236919fa4b7023c4 (diff) |
Implement undo-redo feature for Parameter Paste in the Inspector
EditorData::undo_redo.add_do_property and EditorData::undo_redo.add_undo_property is used in EditorData::paste_object_params to implement this feature. It's action name is set to "Paste Params"
Changes made
* Removed the call for clearing the history on paste params case.
* Instead of directly setting the properties value, EditorData::undo_redo is used.
Diffstat (limited to 'scene/2d/parallax_background.cpp')
0 files changed, 0 insertions, 0 deletions