Fix cases where _get returned true erroneously
This commit is contained in:
parent
8954125990
commit
143db328e7
4 changed files with 34 additions and 17 deletions
|
|
@ -662,9 +662,10 @@ void OpenXRCompositionLayer::_get_property_list(List<PropertyInfo> *p_property_l
|
|||
bool OpenXRCompositionLayer::_get(const StringName &p_property, Variant &r_value) const {
|
||||
if (extension_property_values.has(p_property)) {
|
||||
r_value = extension_property_values[p_property];
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool OpenXRCompositionLayer::_set(const StringName &p_property, const Variant &p_value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue