Missed BGE in recent commit
authorCampbell Barton <ideasman42@gmail.com>
Wed, 15 Mar 2017 19:28:03 +0000 (06:28 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 15 Mar 2017 19:28:20 +0000 (06:28 +1100)
source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp

index d7fe8d8ce59afb6de2531136e116d702ce04fc26..6c3751ae34d6773d7d4d3c0f60119226f81522cd 100644 (file)
@@ -104,13 +104,13 @@ typedef void * wmUIHandlerRemoveFunc;
 #  include AUD_DEVICE_H
 #endif
 
-static BlendFileData *load_game_data(char *filename)
+static BlendFileData *load_game_data(const char *filename)
 {
        ReportList reports;
        BlendFileData *bfd;
        
        BKE_reports_init(&reports, RPT_STORE);
-       bfd= BLO_read_from_file(filename, &reports);
+       bfd= BLO_read_from_file(filename, &reports, BLO_READ_SKIP_USERDEF);
 
        if (!bfd) {
                printf("Loading %s failed: ", filename);