瀏覽代碼

tweak

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 11 年之前
父節點
當前提交
794f1a5086
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      test/meshviewer.cpp

+ 4
- 4
test/meshviewer.cpp 查看文件

@@ -337,11 +337,11 @@ public:
if (m_mesh_id == m_meshes.Count() - 1)
m_mesh_id++;
//Create a new mesh
EasyMesh* tmp = new EasyMesh();
if (tmp->Compile(mesh.C()))
m_meshes.Push(tmp);
EasyMesh* em = new EasyMesh();
if (em->Compile(mesh.C()))
m_meshes.Push(em);
else
delete(tmp);
delete(em);
}
}



Loading…
取消
儲存