Skip to content

Commit

Permalink
Merge branch 'main' into editor-save-value
Browse files Browse the repository at this point in the history
  • Loading branch information
matgis committed Apr 16, 2024
2 parents 49f3b54 + 4d84ed7 commit 929ca96
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 929ca96

Please sign in to comment.