update codes for support new SceneNode

This commit is contained in:
2024-10-06 14:51:38 +08:00
parent 4614562929
commit b9fbab56f1
9 changed files with 35 additions and 31 deletions

View File

@@ -81,7 +81,7 @@ private:
if(!ri)
return(nullptr);
render_root.CreateSubNode(mat,ri);
render_root.Add(new SceneNode(mat,ri));
return ri;
}