FIX: Load Filament Json Error
JIRA: none Change-Id: I4ca521439cbd1a9cd9e80a0991365409ed74ce04
This commit is contained in:
parent
82919f53a4
commit
662de52448
|
@ -1017,8 +1017,8 @@ int GuideFrame::GetFilamentInfo( std::string VendorDirectory, json & pFilaList,
|
|||
|
||||
std::string FPath = pFilaList[FName]["sub_path"];
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << " Before Format Inherits Path: VendorDirectory - " << VendorDirectory << ", sub_path - " << FPath;
|
||||
wxString strNewFile = wxString::Format("%s%c%s", wxString(VendorDirectory.c_str(), wxConvUTF8), boost::filesystem::path::preferred_separator, FPath);
|
||||
boost::filesystem::path inherits_path(w2s(strNewFile));
|
||||
std::string strNewFile = VendorDirectory + "/" + FPath;
|
||||
boost::filesystem::path inherits_path(strNewFile);
|
||||
|
||||
//boost::filesystem::path nf(strNewFile.c_str());
|
||||
if (boost::filesystem::exists(inherits_path))
|
||||
|
|
Loading…
Reference in New Issue