You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #59564, when you create an undo redo action, then commit it without adding any method, it throws this error: editor\editor_undo_redo_manager.cpp:221 - Condition "pending_action.history_id == INVALID_HISTORY" is true.
This happens in some cases, like here, when drag_modified_tiles is empty:
Maybe this is the expected behavior, in this case, that means some of the code needs to be modified to prevent the commit when there's no method, like adding a if (!drag_modified_tiles.is_empty()) in the issue example.
Godot version
v4.0.alpha.custom_build [79b21e9]
System information
Windows 10
Issue description
Since #59564, when you create an undo redo action, then commit it without adding any method, it throws this error:
editor\editor_undo_redo_manager.cpp:221 - Condition "pending_action.history_id == INVALID_HISTORY" is true.
This happens in some cases, like here, when
drag_modified_tiles
is empty:godot/editor/plugins/tiles/tile_set_atlas_source_editor.cpp
Lines 1315 to 1320 in 16228ba
This didn't happen before the merge of #59564.
Steps to reproduce
(or open a TileSet and try to create a tile where there's already one, this triggers the bug)
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: