浏览代码

Remove duplicate call to exporter. Fixes issue #2718.

Paul Arden 5 年之前
父节点
当前提交
929d83398d
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      code/Common/Exporter.cpp

+ 1 - 2
code/Common/Exporter.cpp

@@ -445,8 +445,7 @@ aiReturn Exporter::Export( const aiScene* pScene, const char* pFormatId, const c
 
                 ExportProperties emptyProperties;  // Never pass NULL ExportProperties so Exporters don't have to worry.
                 ExportProperties* pProp = pProperties ? (ExportProperties*)pProperties : &emptyProperties;
-                                pProp->SetPropertyBool("bJoinIdenticalVertices", must_join_again);
-                                exp.mExportFunction(pPath,pimpl->mIOSystem.get(),scenecopy.get(), pProp);
+                pProp->SetPropertyBool("bJoinIdenticalVertices", must_join_again);
                 exp.mExportFunction(pPath,pimpl->mIOSystem.get(),scenecopy.get(), pProp);
 
                 pimpl->mProgressHandler->UpdateFileWrite(4, 4);