diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-05-28 12:40:39 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-05-28 12:40:44 +0200 |
commit | 0823ae7ae47989c31d64de222d6f6e4bdcea1962 (patch) | |
tree | 092c5969fb4541764f6c453cf87de37f8ebec04f /core/undo_redo.cpp | |
parent | 8384582828d38ebc8f4ab4c68b9ae5181d1e99dc (diff) |
Node::duplicate: Don't set name if original node is nameless
In practice this only happens when duplicating a node which is not in
the scene tree yet, as nameless nodes get assigned a generated name
when added to the scene tree.
Fixes #27319.
Diffstat (limited to 'core/undo_redo.cpp')
0 files changed, 0 insertions, 0 deletions