forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Thanks to a refactor, `duplicate_for_local_scene()` and `duplicate()` are now both users of the same, parametrized, implementation - `duplicate()` now honors with/without subresources modes better: - With subresources: Previously, only resources found as direct property values of the one to copy would be, recursively, duplicated. Now, in addition, arrays and dictionaries are walked so the copy is truly deep. - Without subresources: Previously, the first level of resources found as direct property values would be duplicated unconditionally. Now, no subresource found at any level in any form, will be duplicated, but the original reference kept instead.
- Loading branch information
1 parent
e083009
commit d209323
Showing
2 changed files
with
41 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters