diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-10-04 20:42:36 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-10-04 20:42:36 +0400 |
commit | d7589d8bc88bac0f7af3b674d7a3737391532b0d (patch) | |
tree | ae40c7ae4cc38e4fee12f1a64bc30d061dccfd50 /source/gameengine | |
parent | a7a4c4113e7e47e55231bc6cac743c4c3e5c18f9 (diff) |
Game player: preserve material, debug settings, between .blend files.
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp index 9700e6387f2..fbb8d6530ba 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp @@ -659,7 +659,9 @@ int main(int argc, char** argv) Main *maggie = bfd->main; Scene *scene = bfd->curscene; G.main = maggie; - G.fileflags = bfd->fileflags; + + if (firstTimeRunning) + G.fileflags = bfd->fileflags; //Seg Fault; icon.c gIcons == 0 BKE_icons_init(1); |