Syd ADAMS: remove season suffix, this is now done via <condition>s
This commit is contained in:
@@ -100,11 +100,6 @@ SGMaterial::read_properties( const string &fg_root, const SGPropertyNode * props
|
|||||||
{
|
{
|
||||||
string tname = textures[i]->getStringValue();
|
string tname = textures[i]->getStringValue();
|
||||||
string otname = tname;
|
string otname = tname;
|
||||||
if (season && strncmp(season, "summer", 6))
|
|
||||||
{
|
|
||||||
if (tname.substr(0,7) == "Terrain")
|
|
||||||
tname.insert(7,"."+string(season));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tname == "") {
|
if (tname == "") {
|
||||||
tname = "unknown.rgb";
|
tname = "unknown.rgb";
|
||||||
|
|||||||
Reference in New Issue
Block a user