Skip to content

Commit

Permalink
removed the previous added retain and log(for debugging)
Browse files Browse the repository at this point in the history
  • Loading branch information
0SlowPoke0 committed Dec 19, 2024
1 parent b8d065c commit 9dafb91
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1608,8 +1608,6 @@ impl NodeNetworkInterface {
return;
};

network_metadata.persistent_metadata.selection_undo_history.retain(|selected_nodes| selected_nodes.has_selected_nodes());

if let Some(selection_state) = network_metadata.persistent_metadata.selection_undo_history.pop_back() {
network_metadata.persistent_metadata.selection_redo_history.push_front(selection_state);
}
Expand All @@ -1621,8 +1619,6 @@ impl NodeNetworkInterface {
return;
};

network_metadata.persistent_metadata.selection_redo_history.retain(|selected_nodes| selected_nodes.has_selected_nodes());

if let Some(selection_state) = network_metadata.persistent_metadata.selection_redo_history.pop_front() {
network_metadata.persistent_metadata.selection_undo_history.push_back(selection_state);
}
Expand Down

0 comments on commit 9dafb91

Please sign in to comment.