mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Small fixes
This commit is contained in:
parent
b7f17a100d
commit
0ffec7daf7
3 changed files with 21 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue