Various style nitpicks

This commit is contained in:
Rémi Verschelde
2025-05-12 16:47:16 +02:00
committed by Mikael Hermansson
parent 78f1543e35
commit 0adf0898eb
18 changed files with 75 additions and 63 deletions

View File

@@ -130,7 +130,7 @@ void SnapshotNodeView::_node_selected(Tree *p_tree_selected_from) {
return;
}
if (objects.size() == 1) {
EditorNode::get_singleton()->push_item((Object *)(objects.get(0)));
EditorNode::get_singleton()->push_item((Object *)objects.get(0));
}
if (objects.size() == 2) {
// This happens if we're in the combined diff view and the node exists in both trees