diff options
author | Evgeny Zuev <evgeny.zuev@xored.com> | 2017-09-06 19:21:19 +0700 |
---|---|---|
committer | Evgeny Zuev <evgeny.zuev@xored.com> | 2017-09-20 10:56:31 +0700 |
commit | 521280ec444d5bc58c8f7bcb044368d20f10f48a (patch) | |
tree | 964e026c1e3a363cb77d0e6e192c514d9cada197 /platform/iphone | |
parent | cd2ffdc6725aa6f7a9a4af6fd5abcc4cafae61b4 (diff) |
Fix duplication of node with script
When duplicating node with script, properties of script
weren't copied sometimes.
It happened because properties were copied in arbitrary
order, and properties of the script were setted before the
"script" property itself, i.e. while script is sill NULL.
Also, DUPLICATE_SCRIPTS flag wasn't working - script was
always copied because `_duplicate` looked for
"script/script" property while it should be just "script".
Now "script" property is being set before all others,
and "script/script" changed to
`CoreStringNames::get_singleton()->_script`.
Diffstat (limited to 'platform/iphone')
0 files changed, 0 insertions, 0 deletions