mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 02:10:53 +00:00
Changed: Fixed a wrong copy-paste
--HG-- branch : develop
This commit is contained in:
parent
8fc8c3aa39
commit
bc78734602
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ void addSearchPaths(IProgressCallback &progress)
|
||||||
for (uint i = 0; i < ClientCfg.DataPath.size(); i++)
|
for (uint i = 0; i < ClientCfg.DataPath.size(); i++)
|
||||||
{
|
{
|
||||||
// don't prepend default directory if path is absolute
|
// don't prepend default directory if path is absolute
|
||||||
if (!ClientCfg.PreDataPath[i].empty() && ClientCfg.PreDataPath[i][0] != '/')
|
if (!ClientCfg.DataPath[i].empty() && ClientCfg.DataPath[i][0] != '/')
|
||||||
{
|
{
|
||||||
progress.progress ((float)i/(float)ClientCfg.DataPath.size());
|
progress.progress ((float)i/(float)ClientCfg.DataPath.size());
|
||||||
progress.pushCropedValues ((float)i/(float)ClientCfg.DataPath.size(), (float)(i+1)/(float)ClientCfg.DataPath.size());
|
progress.pushCropedValues ((float)i/(float)ClientCfg.DataPath.size(), (float)(i+1)/(float)ClientCfg.DataPath.size());
|
||||||
|
|
Loading…
Reference in a new issue