1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-05 17:15:09 +00:00

Merge pull request #13229 from sersoong/master-test

3.0 - Fix context menu of first node in a new scene
This commit is contained in:
Rémi Verschelde
2017-11-24 08:06:29 +01:00
committed by GitHub

View File

@@ -1358,7 +1358,7 @@ void SceneTreeDock::_create() {
editor_data->get_undo_redo().commit_action();
editor->push_item(c);
editor_selection->clear();
if (Object::cast_to<Control>(c)) {
//make editor more comfortable, so some controls don't appear super shrunk
Control *ct = Object::cast_to<Control>(c);