Skip to content

Commit

Permalink
editor: some documentation love
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasdr committed Jan 22, 2025
1 parent 56d7b97 commit 47f1321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tdme/tools/editor/Editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ int Editor::main(int argc, char** argv)
GUIImageNode::addSourceHandler(new TMSourceHandler());
}
{
// tm files
// tmodel files
class TModelSourceHandler: public GUIImageNode::SourceHandler {
bool setSource(GUIImageNode* imageNode, const string& source) {
if (StringTools::endsWith(StringTools::toLowerCase(source), ".tmodel") == false) return false;
Expand Down Expand Up @@ -162,7 +162,7 @@ int Editor::main(int argc, char** argv)
GUIImageNode::addSourceHandler(new TModelSourceHandler());
}
{
// tm files
// xml files
class XMLSourceHandler: public GUIImageNode::SourceHandler {
bool setSource(GUIImageNode* imageNode, const string& source) {
if (StringTools::endsWith(StringTools::toLowerCase(source), ".xml") == false) return false;
Expand Down

0 comments on commit 47f1321

Please sign in to comment.