mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Fix unintentionally fall through
This commit is contained in:
parent
3e55baec1a
commit
eaa0f5e46a
@ -334,6 +334,7 @@ void push_value_to_lua(lua_State* L, const doc::UserData::Variant& value)
|
|||||||
break;
|
break;
|
||||||
case USER_DATA_PROPERTY_TYPE_FIXED:
|
case USER_DATA_PROPERTY_TYPE_FIXED:
|
||||||
push_value_to_lua(L, *std::get_if<doc::UserData::Fixed>(&value));
|
push_value_to_lua(L, *std::get_if<doc::UserData::Fixed>(&value));
|
||||||
|
break;
|
||||||
case USER_DATA_PROPERTY_TYPE_FLOAT:
|
case USER_DATA_PROPERTY_TYPE_FLOAT:
|
||||||
push_value_to_lua(L, *std::get_if<float>(&value));
|
push_value_to_lua(L, *std::get_if<float>(&value));
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user