summaryrefslogtreecommitdiff
path: root/platform/iphone/gl_view.h
diff options
context:
space:
mode:
authorEvgeny Zuev <evgeny.zuev@xored.com>2017-09-06 19:21:19 +0700
committerEvgeny Zuev <evgeny.zuev@xored.com>2017-09-20 10:56:31 +0700
commit521280ec444d5bc58c8f7bcb044368d20f10f48a (patch)
tree964e026c1e3a363cb77d0e6e192c514d9cada197 /platform/iphone/gl_view.h
parentcd2ffdc6725aa6f7a9a4af6fd5abcc4cafae61b4 (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/gl_view.h')
0 files changed, 0 insertions, 0 deletions