You've already forked godot
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user