Core: Integrate Ref::instantiate where possible
This commit is contained in:
parent
0f5f3bc954
commit
925b690c98
44 changed files with 81 additions and 81 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue