summaryrefslogtreecommitdiffstats
path: root/scene/gui
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-06-09 15:21:41 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-11-10 12:41:26 -0600
commit925b690c989dea13d0dfc06d2a7b1edc8de6b34f (patch)
tree444f95d5deffb18f2a1a91f6a06c0dd132d83600 /scene/gui
parent0f5f3bc9546b46b2029fc8896dc859697f1eab97 (diff)
downloadredot-engine-925b690c989dea13d0dfc06d2a7b1edc8de6b34f.tar.gz
Core: Integrate `Ref::instantiate` where possible
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/graph_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp
index b1c47d858d..7e07f4a202 100644
--- a/scene/gui/graph_edit.cpp
+++ b/scene/gui/graph_edit.cpp
@@ -3001,5 +3001,5 @@ GraphEdit::GraphEdit() {
set_clip_contents(true);
- arranger = Ref<GraphEditArranger>(memnew(GraphEditArranger(this)));
+ arranger.instantiate(this);
}