added missing invert type
This commit is contained in:
parent
65e8c31f71
commit
d03b0107e7
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Texture.cc,v 1.6 2003/08/12 11:44:19 fluxgen Exp $
|
// $Id: Texture.cc,v 1.7 2004/01/11 20:33:24 fluxgen Exp $
|
||||||
|
|
||||||
#include "Texture.hh"
|
#include "Texture.hh"
|
||||||
|
|
||||||
|
@ -78,6 +78,8 @@ void Texture::setFromString(const char * const texture_str) {
|
||||||
addType(Texture::SUNKEN);
|
addType(Texture::SUNKEN);
|
||||||
else if (strstr(ts, "flat"))
|
else if (strstr(ts, "flat"))
|
||||||
addType(Texture::FLAT);
|
addType(Texture::FLAT);
|
||||||
|
else if (strstr(ts, "invert"))
|
||||||
|
addType(Texture::INVERT);
|
||||||
else
|
else
|
||||||
addType(Texture::RAISED);
|
addType(Texture::RAISED);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue