summaryrefslogtreecommitdiff
path: root/editor/reparent_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/reparent_dialog.cpp')
-rw-r--r--editor/reparent_dialog.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/editor/reparent_dialog.cpp b/editor/reparent_dialog.cpp
index e5ae09f5ff..1615336a4b 100644
--- a/editor/reparent_dialog.cpp
+++ b/editor/reparent_dialog.cpp
@@ -75,14 +75,8 @@ ReparentDialog::ReparentDialog() {
tree = memnew(SceneTreeEditor(false));
tree->set_show_enabled_subscene(true);
-
- vbc->add_margin_child(TTR("Reparent Location (Select new Parent):"), tree, true);
-
tree->get_scene_tree()->connect("item_activated", callable_mp(this, &ReparentDialog::_reparent));
-
- //Label *label = memnew( Label );
- //label->set_position( Point2( 15,8) );
- //label->set_text("Reparent Location (Select new Parent):");
+ vbc->add_margin_child(TTR("Select new parent:"), tree, true);
keep_transform = memnew(CheckBox);
keep_transform->set_text(TTR("Keep Global Transform"));