diff options
author | SnailRhymer <harrymilnes@hotmail.com> | 2022-04-26 17:57:36 +0100 |
---|---|---|
committer | SnailRhymer <snailrhymer@pop-os.localdomain> | 2022-05-12 16:09:00 +0100 |
commit | d04a431b9b77c675cda7bbe1182eb6bf76d1936b (patch) | |
tree | 6355746c377d3d1865e3ff71ab32a0247c7fd659 /scene/resources/packed_scene.cpp | |
parent | 5c54770b7cd0be8ed6e9229fd253ae0d98f8b275 (diff) |
Fix _class_desc_select to handle Variant.Type
Change the order of checks in _class_desc_select to first try checking current page and GlobalScope
before resorting to slicing either side of ".".
Bug was caused by assumption that no enums or constants in @GlobalScope would contain ".". This is still
assumed elsewhere in the file, so bugs may persist.
Format some comments.
Diffstat (limited to 'scene/resources/packed_scene.cpp')
0 files changed, 0 insertions, 0 deletions