fixed minor bug
This commit is contained in:
parent
4d6e5e3f1c
commit
96f47306ac
1 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ void Texture::setFromString(const char * const texture_str) {
|
|||
} else if (strstr(ts, "solid"))
|
||||
addType(Texture::SOLID);
|
||||
else
|
||||
addType(Texture::DEFAULT_BEVEL);
|
||||
addType(Texture::DEFAULT_TEXTURE);
|
||||
|
||||
if (strstr(ts, "raised"))
|
||||
addType(Texture::RAISED);
|
||||
|
@ -89,7 +89,7 @@ void Texture::setFromString(const char * const texture_str) {
|
|||
else if (strstr(ts, "flat"))
|
||||
addType(Texture::FLAT);
|
||||
else
|
||||
addType(Texture::DEFAULT_TEXTURE);
|
||||
addType(Texture::DEFAULT_BEVEL);
|
||||
|
||||
if (! (type() & Texture::FLAT))
|
||||
if (strstr(ts, "bevel2"))
|
||||
|
|
Loading…
Reference in a new issue