Remove error print in the Animation getter.
This commit is contained in:
parent
4248411baf
commit
33af291421
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue