Remove error print in the Animation getter.

This commit is contained in:
Pāvels Nadtočajevs 2025-04-09 09:34:26 +03:00
parent 4248411baf
commit 33af291421
No known key found for this signature in database
GPG Key ID: 8413210218EF35D2

View File

@ -464,7 +464,9 @@ bool Animation::_get(const StringName &p_name, Variant &r_ret) const {
String prop_name = p_name;
if (p_name == SNAME("_compression")) {
ERR_FAIL_COND_V(!compression.enabled, false);
if (!compression.enabled) {
return false;
}
Dictionary comp;
comp["fps"] = compression.fps;
Array bounds;