浏览代码

OpenGEX: Add comment about pointer ownership

Turo Lamminen 7 年之前
父节点
当前提交
aa434b9566
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/OpenGEXImporter.h

+ 1 - 1
code/OpenGEXImporter.h

@@ -192,7 +192,7 @@ private:
     MetricInfo m_metrics[ MetricInfo::Max ];
     MetricInfo m_metrics[ MetricInfo::Max ];
     aiNode *m_currentNode;
     aiNode *m_currentNode;
     VertexContainer m_currentVertices;
     VertexContainer m_currentVertices;
-    aiMesh *m_currentMesh;
+    aiMesh *m_currentMesh;  // not owned, target is owned by m_meshCache
     aiMaterial *m_currentMaterial;
     aiMaterial *m_currentMaterial;
     aiLight *m_currentLight;
     aiLight *m_currentLight;
     aiCamera *m_currentCamera;
     aiCamera *m_currentCamera;