Skip to content

Commit

Permalink
TETRAEDGE: Skip pausable attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
phcoder committed Jan 1, 2025
1 parent 6bc6a05 commit af70cb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engines/tetraedge/te/te_lua_gui_lua_callbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,9 @@ int layoutPositionLinearAnimationBindings(lua_State *L) {
} else if (!strcmp(s, "endValue")) {
static const TeVector3f32 defaultEnd(0.0f, 0.0f, 0.0f);
anim->_endVal = TeLuaToTeVector3f32(L, -1, defaultEnd);
} else if (!strcmp(s, "layout")) {
} else if (!strcmp(s, "layout") || !strcmp(s, "pausable")) {
// skip.
// TODO: What should we do with "pausable" attribute?
} else if (!strcmp(s, "curve")) {
const Common::Array<float> curve = TeLuaToFloatArray(L, -1);
anim->setCurve(curve);
Expand Down

0 comments on commit af70cb9

Please sign in to comment.