You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Fix invalid return from some _get/_set
Invalidly returned `true` on the non-matched path
This commit is contained in:
@@ -49,7 +49,7 @@ bool SkeletonModificationStack2D::_set(const StringName &p_path, const Variant &
|
||||
set_modification(mod_idx, p_value);
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool SkeletonModificationStack2D::_get(const StringName &p_path, Variant &r_ret) const {
|
||||
@@ -60,7 +60,7 @@ bool SkeletonModificationStack2D::_get(const StringName &p_path, Variant &r_ret)
|
||||
r_ret = get_modification(mod_idx);
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
void SkeletonModificationStack2D::setup() {
|
||||
|
||||
Reference in New Issue
Block a user