OGRECave / ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
https://ogrecave.github.io/ogre/
MIT License
3.85k stars 959 forks source link

`OgreMeshUpgrader` and `OgreXMLConverter` have empty time in log #3078

Closed sercero closed 3 months ago

sercero commented 3 months ago

This is the log from OgreMeshUpgrader from OGRE v13.6.5

22:00:00: MeshSerializer writing mesh data to stream D:\tmp\VertexOptTest\Plane.mesh...
22:00:00: File header written.
22:00:00: Writing mesh data...
22:00:00: Writing submesh...
22:00:00: Exporting submesh texture aliases...
22:00:00: Submesh texture aliases exported.
22:00:00: Submesh exported.
22:00:00: Exporting bounds information....
22:00:00: Bounds information exported.
22:00:00: Exporting submesh name table...
22:00:00: Submesh name table exported.
22:00:00: Mesh data exported.
22:00:00: MeshSerializer export successful.

This is the log from OgreMeshUpgrader from OGRE v14.2.3

: MeshSerializer writing mesh data to stream D:\tmp\VertexOptTest\Plane.mesh...
: File header written.
: Writing mesh data...
: Writing submesh...
: Submesh exported.
: Exporting bounds information....
: Bounds information exported.
: Exporting submesh name table...
: Submesh name table exported.
: Mesh data exported.
: MeshSerializer export successful.

The time is missing.

Same thing happens with OgreXMLConverter

Also... it would be nice to have time and date.

paroj commented 3 months ago

you are mingw, right? Then it is the combination of:

will have to replace %T.

sercero commented 3 months ago

you are mingw, right? Then it is the combination of:

will have to replace %T.

Yes, I'm using MinGW64

paroj commented 3 months ago

Also... it would be nice to have time and date.

ogre logs get overwritten each run, so the timestamp of the file gives the date. However the main reason I dont want to add date is that somebody is probably parsing the log output and it would break that.