Skip to content

Commit

Permalink
add dummy GetInfo method.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Oct 19, 2023
1 parent 74f181d commit 1df4087
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/tydra/render-data.hh
Original file line number Diff line number Diff line change
Expand Up @@ -657,8 +657,8 @@ class RenderSceneConverter {
///
bool ConvertToRenderScene(const Stage &stage, RenderScene *scene);

const std::string &GetInfo() const { return _info; }
const std::string &GetWarning() const { return _warn; }

const std::string &GetError() const { return _err; }

StringAndIdMap nodeMap;
Expand All @@ -677,7 +677,7 @@ class RenderSceneConverter {
///
/// @param[in] rmaterial_id RenderMaterial index. -1 if no material assigned
/// to this Mesh. If the mesh has bounded material, RenderMaterial index must
/// be obrained using ConertMaterial method.
/// be obrained using ConvertMaterial method.
/// @param[in] mesh Input GeomMesh
/// @param[out] dst RenderMesh output
///
Expand Down Expand Up @@ -721,10 +721,11 @@ class RenderSceneConverter {
MaterialConverterConfig _material_config;
const Stage *_stage{nullptr};

void PushInfo(const std::string &msg) { _info += msg; }
void PushWarn(const std::string &msg) { _warn += msg; }

void PushError(const std::string &msg) { _err += msg; }

std::string _info;
std::string _err;
std::string _warn;
};
Expand Down

0 comments on commit 1df4087

Please sign in to comment.