forked from bartvdbraak/blender
texface fix: if material is not used by mesh set default bge mat flag (backface culling on)
report by Mitchell Stokes over IRC, but probably one of the reason people have been asking to expose the Game Settings material panel in the Render engine as well.
This commit is contained in:
parent
0d2b936d62
commit
be143cc037
@ -1995,6 +1995,11 @@ int do_version_tface(Main *main, int fileload)
|
||||
}
|
||||
}
|
||||
}
|
||||
/* material is not used by faces with texface
|
||||
* set the default flag - do it only once */
|
||||
else
|
||||
if (fileload)
|
||||
ma->game.flag = GEMAT_BACKCULL;
|
||||
}
|
||||
|
||||
return nowarning;
|
||||
|
Loading…
Reference in New Issue
Block a user