Tuesday merger of bf-blender into orange branch.
[blender-staging.git] / source / blender / src / space.c
index 5c2e308a4fac9603517a5ec1152646e50ac3bb0d..f2ef4cbd5665fdbe75899f7955f66a43be2b36dc 100644 (file)
@@ -365,6 +365,9 @@ void space_set_commmandline_options(void) {
                a= (G.fileflags & G_FILE_GAME_TO_IPO);
                SYS_WriteCommandLineInt(syshandle, "game2ipo", a);
 
+               a=(G.fileflags & G_FILE_GAME_MAT);
+               SYS_WriteCommandLineInt(syshandle, "blender_material", a);
+
 
        }
 }