[BUG] gizmoMove rootNote's ScaleMatrix's Z is non-work.

This commit is contained in:
2024-08-29 13:37:13 +08:00
parent 8245d83309
commit 442e52e17c
7 changed files with 35 additions and 14 deletions

View File

@@ -82,7 +82,7 @@ bool InitGizmoMoveStaticMesh()
}
{
SceneNode *root_node=new SceneNode();
SceneNode *root_node=new SceneNode(scale(1,1,2)); //.////// XY有效Z无效。。。在查为什么
root_node->CreateSubNode(sphere);

View File

@@ -149,8 +149,8 @@ public:
// root.SetLocalTransform(tm);
//}
root.RefreshMatrix();
render_list->UpdateLocalToWorld();
//root.RefreshMatrix();
//render_list->UpdateLocalToWorld();
SceneAppFramework::BuildCommandBuffer(index);
}