Skip to content

Commit 1df4087

Browse files
committed
add dummy GetInfo method.
1 parent 74f181d commit 1df4087

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/tydra/render-data.hh

+4-3
Original file line numberDiff line numberDiff line change
@@ -657,8 +657,8 @@ class RenderSceneConverter {
657657
///
658658
bool ConvertToRenderScene(const Stage &stage, RenderScene *scene);
659659

660+
const std::string &GetInfo() const { return _info; }
660661
const std::string &GetWarning() const { return _warn; }
661-
662662
const std::string &GetError() const { return _err; }
663663

664664
StringAndIdMap nodeMap;
@@ -677,7 +677,7 @@ class RenderSceneConverter {
677677
///
678678
/// @param[in] rmaterial_id RenderMaterial index. -1 if no material assigned
679679
/// to this Mesh. If the mesh has bounded material, RenderMaterial index must
680-
/// be obrained using ConertMaterial method.
680+
/// be obrained using ConvertMaterial method.
681681
/// @param[in] mesh Input GeomMesh
682682
/// @param[out] dst RenderMesh output
683683
///
@@ -721,10 +721,11 @@ class RenderSceneConverter {
721721
MaterialConverterConfig _material_config;
722722
const Stage *_stage{nullptr};
723723

724+
void PushInfo(const std::string &msg) { _info += msg; }
724725
void PushWarn(const std::string &msg) { _warn += msg; }
725-
726726
void PushError(const std::string &msg) { _err += msg; }
727727

728+
std::string _info;
728729
std::string _err;
729730
std::string _warn;
730731
};

0 commit comments

Comments
 (0)