|
@@ -122,7 +122,7 @@ void Urho3DPlayer::Setup()
|
|
|
|
|
|
|
|
// Construct a search path to find the resource prefix with two entries:
|
|
// Construct a search path to find the resource prefix with two entries:
|
|
|
// The first entry is an empty path which will be substituted with program/bin directory -- this entry is for binary when it is still in build tree
|
|
// The first entry is an empty path which will be substituted with program/bin directory -- this entry is for binary when it is still in build tree
|
|
|
- // The second entry is an relative path to the installed program/bin directory -- this entry is for binary when it is in the URho3D SDK installation location
|
|
|
|
|
|
|
+ // The second entry is a relative path from the installed program/bin directory to the asset directory -- this entry is for binary when it is in the Urho3D SDK installation location
|
|
|
if (engineParameters_["ResourcePrefixPaths"].GetString().Empty())
|
|
if (engineParameters_["ResourcePrefixPaths"].GetString().Empty())
|
|
|
engineParameters_["ResourcePrefixPaths"] = " ;../share/Urho3D/Resources";
|
|
engineParameters_["ResourcePrefixPaths"] = " ;../share/Urho3D/Resources";
|
|
|
}
|
|
}
|