From 022c2952fcee0027efc4f67230ad9d54bbd05d1b Mon Sep 17 00:00:00 2001
From: nemerle <96597+nemerle@users.noreply.github.com>
Date: Sun, 31 Jan 2021 13:55:13 +0100
Subject: Node::replace_by was not copying node properties - removed the dead
code.
The code to copy node properties to the new node never worked, so there is no reason to keep the useless bits in there
---
doc/classes/Node.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'doc')
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index e8913f2623..5f0d6462e2 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -623,10 +623,11 @@
-
+
Replaces a node in a scene by the given one. Subscriptions that pass through this node will be lost.
+ If [code]keep_groups[/code] is [code]true[/code], the [code]node[/code] is added to the same groups that the replaced node is in.
--
cgit v1.2.3