Small fixes

This commit is contained in:
Juan Linietsky 2018-06-29 09:13:20 -03:00
parent b7f17a100d
commit 0ffec7daf7
3 changed files with 21 additions and 5 deletions

View file

@ -134,8 +134,8 @@ bool Animation::_set(const StringName &p_name, const Variant &p_value) {
int um = d["update"];
if (um < 0)
um = 0;
else if (um > 2)
um = 2;
else if (um > 3)
um = 3;
vt->update_mode = UpdateMode(um);
}