fix assertion on optional files
This commit is contained in:
@@ -772,7 +772,8 @@ RString ThemeManager::GetPath( ElementCategory category, const RString &sMetrics
|
|||||||
{
|
{
|
||||||
PathInfo pi;
|
PathInfo pi;
|
||||||
GetPathInfo( pi, category, sMetricsGroup, sElement, bOptional );
|
GetPathInfo( pi, category, sMetricsGroup, sElement, bOptional );
|
||||||
ASSERT( !pi.sResolvedPath.empty() );
|
if(!bOptional)
|
||||||
|
ASSERT( !pi.sResolvedPath.empty() );
|
||||||
return pi.sResolvedPath;
|
return pi.sResolvedPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user