Merge pull request #11550 from marcelofg55/get_named_ret

Fix Variant::get_named return when p_index is invalid
This commit is contained in:
Hein-Pieter van Braam 2017-09-24 20:22:35 +02:00 committed by GitHub
commit 41701ed044

View file

@ -1699,6 +1699,7 @@ Variant Variant::get_named(const StringName &p_index, bool *r_valid) const {
if (r_valid) {
*r_valid = false;
}
return Variant();
}
#define DEFAULT_OP_ARRAY_CMD(m_name, m_type, skip_test, cmd) \