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)); }