1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix cases where _get returned true erroneously

This commit is contained in:
RedMser
2025-04-18 21:01:55 +02:00
parent 8954125990
commit 143db328e7
4 changed files with 34 additions and 17 deletions

View File

@@ -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) {