Skip to content

Commit

Permalink
Merge pull request #164 from defold/defold-1.7.1
Browse files Browse the repository at this point in the history
Fix for Defold 1.7.1
  • Loading branch information
AGulev authored Apr 10, 2024
2 parents a408656 + 4af2e54 commit 4d84ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defold-spine/src/gui_node_spine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 4d84ed7

Please sign in to comment.