From 7915a061b736e3d6c97f8e55cec57cef10d15d9d Mon Sep 17 00:00:00 2001 From: Alexey Gulev Date: Wed, 5 Jan 2022 18:01:25 +0100 Subject: [PATCH] Update script_spine_model.cpp --- defold-spine/src/script_spine_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defold-spine/src/script_spine_model.cpp b/defold-spine/src/script_spine_model.cpp index fc20047..f2aad78 100644 --- a/defold-spine/src/script_spine_model.cpp +++ b/defold-spine/src/script_spine_model.cpp @@ -525,7 +525,7 @@ namespace dmSpine dmhash_t ik_constraint_id = dmScript::CheckHashOrString(L, 2); Vectormath::Aos::Vector3* position = dmScript::CheckVector3(L, 3); - if (!CompSpineModelSetIKTargetPosition(component, ik_constraint_id, 1.0f, (Point3)*position)) + if (!CompSpineModelSetIKTargetPosition(component, ik_constraint_id, 1.0f, (dmVMath::Point3)*position)) { return DM_LUA_ERROR("the IK constraint target '%s' could not be found", lua_tostring(L, 2)); }