From 4af2e54453e91a2997c1c98d5de93a6f80629036 Mon Sep 17 00:00:00 2001 From: AGulev Date: Wed, 10 Apr 2024 15:25:07 +0200 Subject: [PATCH] fix for Defold 1.7.1 --- defold-spine/src/gui_node_spine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defold-spine/src/gui_node_spine.cpp b/defold-spine/src/gui_node_spine.cpp index f63a6d1..6ff8a02 100644 --- a/defold-spine/src/gui_node_spine.cpp +++ b/defold-spine/src/gui_node_spine.cpp @@ -504,7 +504,7 @@ static void UpdateTransform(dmGui::HScene scene, dmGui::HNode node, const spBone float sy = spBone_getWorldScaleY((spBone*)bone); dmGui::SetNodeProperty(scene, node, dmGui::PROPERTY_POSITION, dmVMath::Vector4(bone->worldX, bone->worldY, 0, 0)); - dmGui::SetNodeProperty(scene, node, dmGui::PROPERTY_ROTATION, dmVMath::Vector4(0, 0, radians, 0)); + dmGui::SetNodeProperty(scene, node, dmGui::PROPERTY_EULER, dmVMath::Vector4(0, 0, radians, 0)); dmGui::SetNodeProperty(scene, node, dmGui::PROPERTY_SCALE, dmVMath::Vector4(sx, sy, 1, 0)); }