You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Core: Integrate Ref::instantiate where possible
This commit is contained in:
@@ -5620,7 +5620,7 @@ CanvasItemEditor::CanvasItemEditor() {
|
||||
snap_dialog->connect(SceneStringName(confirmed), callable_mp(this, &CanvasItemEditor::_snap_changed));
|
||||
add_child(snap_dialog);
|
||||
|
||||
select_sb = Ref<StyleBoxTexture>(memnew(StyleBoxTexture));
|
||||
select_sb.instantiate();
|
||||
|
||||
selection_menu = memnew(PopupMenu);
|
||||
add_child(selection_menu);
|
||||
|
||||
Reference in New Issue
Block a user