Skip to content

Commit

Permalink
ASE syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Jan 23, 2017
1 parent 96311d4 commit 7479111
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/model/AseExporter.cpp
Expand Up @@ -49,7 +49,7 @@ void AseExporter::exportToStream(std::ostream& stream)
{
// Header / scene block
stream << "*3DSMAX_ASCIIEXPORT 200" << std::endl;
stream << "*COMMENT \"Dark Radiant ASCII Scene Export(*.ase) v0.7\"" << std::endl;
stream << "*COMMENT \"DarkRadiant ASCII Scene Export(*.ase)\"" << std::endl;
stream << "*SCENE{" << std::endl;
stream << "\t*SCENE_FILENAME \"" << GlobalMapModule().getMapName() << "\"" << std::endl;
stream << "\t*SCENE_FIRSTFRAME 0" << std::endl;
Expand Down Expand Up @@ -117,7 +117,7 @@ void AseExporter::exportToStream(std::ostream& stream)
stream << "*GEOMOBJECT {" << std::endl;

stream << "\t*NODE_NAME \"mesh" << m << "\"" << std::endl;
stream << "\t\t*NODE_TM {" << std::endl;
stream << "\t*NODE_TM {" << std::endl;
stream << "\t\t*NODE_NAME \"mesh" << m << "\"" << std::endl;
stream << "\t\t*INHERIT_POS 0 0 0" << std::endl;
stream << "\t\t*INHERIT_ROT 0 0 0" << std::endl;
Expand All @@ -141,7 +141,7 @@ void AseExporter::exportToStream(std::ostream& stream)
stream << "\t\t*MESH_NUMFACES " << (surface.indices.size() / 3) << std::endl;

// Vertices
stream << "\t\t*MESH_VERTEX_LIST{" << std::endl;
stream << "\t\t*MESH_VERTEX_LIST {" << std::endl;

for (std::size_t v = 0; v < surface.vertices.size(); ++v)
{
Expand Down

0 comments on commit 7479111

Please sign in to comment.