File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -657,8 +657,8 @@ class RenderSceneConverter {
657
657
// /
658
658
bool ConvertToRenderScene (const Stage &stage, RenderScene *scene);
659
659
660
+ const std::string &GetInfo () const { return _info; }
660
661
const std::string &GetWarning () const { return _warn; }
661
-
662
662
const std::string &GetError () const { return _err; }
663
663
664
664
StringAndIdMap nodeMap;
@@ -677,7 +677,7 @@ class RenderSceneConverter {
677
677
// /
678
678
// / @param[in] rmaterial_id RenderMaterial index. -1 if no material assigned
679
679
// / to this Mesh. If the mesh has bounded material, RenderMaterial index must
680
- // / be obrained using ConertMaterial method.
680
+ // / be obrained using ConvertMaterial method.
681
681
// / @param[in] mesh Input GeomMesh
682
682
// / @param[out] dst RenderMesh output
683
683
// /
@@ -721,10 +721,11 @@ class RenderSceneConverter {
721
721
MaterialConverterConfig _material_config;
722
722
const Stage *_stage{nullptr };
723
723
724
+ void PushInfo (const std::string &msg) { _info += msg; }
724
725
void PushWarn (const std::string &msg) { _warn += msg; }
725
-
726
726
void PushError (const std::string &msg) { _err += msg; }
727
727
728
+ std::string _info;
728
729
std::string _err;
729
730
std::string _warn;
730
731
};
You can’t perform that action at this time.
0 commit comments