Skip to content

Commit

Permalink
- add missing category in assetbatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
kaffeewolf committed Nov 23, 2024
1 parent 332b97a commit d389a2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toolkit/toolkitutil/asset/assetexporter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ AssetExporter::ExportFolder(const Util::String& assetPath, const Util::String& c
IndexT fileIndex;
ToolLog log(category);
Ptr<ToolkitUtil::ToolkitConsoleHandler> console = ToolkitUtil::ToolkitConsoleHandler::Instance();
this->category = category;

if (this->mode & ExportModes::GLTF)
{
Expand Down Expand Up @@ -376,6 +377,7 @@ AssetExporter::ExportFolder(const Util::String& assetPath, const Util::String& c
}
}
this->messages.Append(log);
this->category = "";
}

//------------------------------------------------------------------------------
Expand Down

0 comments on commit d389a2f

Please sign in to comment.