Skip to content

Commit

Permalink
Update script_spine_model.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
AGulev authored Jan 5, 2022
1 parent 117b98c commit 7915a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defold-spine/src/script_spine_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 7915a06

Please sign in to comment.