Commit 8ee13ddc authored by Aleksandr Bakhshiev's avatar Aleksandr Bakhshiev
Browse files

Added log when unsuccessful model load.

--HG--
branch : DataSrcs
parent 58be8053b564
......@@ -1850,8 +1850,8 @@ bool UApplication::LoadModelFromFile(int channel_index, const std::string &file_
if(!data.empty())
{
MModel_Destroy(channel_index);
MModel_LoadComponent(channel_index, "",data.c_str());
return true;
if(MModel_LoadComponent(channel_index, "",data.c_str()) == RDK_SUCCESS)
return true;
}
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment