[BUG] gizmoMove rootNote's ScaleMatrix's Z is non-work.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
@@ -149,8 +149,8 @@ public:
|
||||
// root.SetLocalTransform(tm);
|
||||
//}
|
||||
|
||||
root.RefreshMatrix();
|
||||
render_list->UpdateLocalToWorld();
|
||||
//root.RefreshMatrix();
|
||||
//render_list->UpdateLocalToWorld();
|
||||
|
||||
SceneAppFramework::BuildCommandBuffer(index);
|
||||
}
|
||||
|
Reference in New Issue
Block a user