1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0032585: Data Exchange, RWGltf_CafWriter - include OCCT version

This commit is contained in:
kgv 2021-09-23 23:52:42 +03:00 committed by smoskvin
parent ea99d048d7
commit 3be25c1170

View File

@ -31,6 +31,7 @@
#include <RWGltf_GltfSceneNodeMap.hxx>
#include <RWMesh.hxx>
#include <RWMesh_FaceIterator.hxx>
#include <Standard_Version.hxx>
#include <TDataStd_Name.hxx>
#include <TDF_Tool.hxx>
#include <TDocStd_Document.hxx>
@ -1207,7 +1208,7 @@ void RWGltf_CafWriter::writeAsset (const TColStd_IndexedDataMapOfStringString& t
myWriter->Key (RWGltf_GltfRootElementName (RWGltf_GltfRootElement_Asset));
myWriter->StartObject();
myWriter->Key ("generator");
myWriter->String ("Open CASCADE Technology [dev.opencascade.org]");
myWriter->String ("Open CASCADE Technology " OCC_VERSION_STRING " [dev.opencascade.org]");
myWriter->Key ("version");
myWriter->String ("2.0"); // glTF format version