pull/859/head
parent
69ac97d709
commit
2f9c33e3e9
|
@ -196,11 +196,11 @@ void WriteDump(const aiScene* scene, IOStream* io, bool shortened) {
|
||||||
"<Scene flags=\"%d\" postprocessing=\"%i\">\n"
|
"<Scene flags=\"%d\" postprocessing=\"%i\">\n"
|
||||||
);
|
);
|
||||||
|
|
||||||
const unsigned int major( aiGetVersionMajor() );
|
const unsigned int majorVersion( aiGetVersionMajor() );
|
||||||
const unsigned int minor( aiGetVersionMinor() );
|
const unsigned int minorVersion( aiGetVersionMinor() );
|
||||||
const unsigned int rev( aiGetVersionRevision() );
|
const unsigned int rev( aiGetVersionRevision() );
|
||||||
const char *curtime( asctime( p ) );
|
const char *curtime( asctime( p ) );
|
||||||
ioprintf( io, header.c_str(), major, minor, rev, curtime, scene->mFlags, 0 );
|
ioprintf( io, header.c_str(), majorVersion, minorVersion, rev, curtime, scene->mFlags, 0 );
|
||||||
|
|
||||||
// write the node graph
|
// write the node graph
|
||||||
WriteNode(scene->mRootNode, io, 0);
|
WriteNode(scene->mRootNode, io, 0);
|
||||||
|
|
Loading…
Reference in New Issue