From 33af291421bcd37bf1b5b08a9a285fa761c3a382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?= <7645683+bruvzg@users.noreply.github.com> Date: Wed, 9 Apr 2025 09:34:26 +0300 Subject: [PATCH] Remove error print in the Animation getter. --- scene/resources/animation.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp index 688ef1a6124..ef9a0ff8dbd 100644 --- a/scene/resources/animation.cpp +++ b/scene/resources/animation.cpp @@ -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;