diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-03-16 12:30:02 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-03-16 12:30:02 +0300 |
commit | d68a84d1d2e11d88185cc5d55a6fda6d1dd99969 (patch) | |
tree | 148df27ad82ec588458848ffdc924a00b6c01928 /source/blender/editors/render | |
parent | 375ede0f3fdef936d5712968143e06c846c8d6d6 (diff) |
Fix BGE building.
When you use typedef'ed enum, you need to define all supported values
explicitely in enum, else compiler goes grumpy...
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r-- | source/blender/editors/render/render_preview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index b715d636e62..fa18b82507e 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -196,7 +196,7 @@ static Main *load_main_from_memory(const void *blend, int blend_size) BlendFileData *bfd; G.fileflags |= G_FILE_NO_UI; - bfd = BLO_read_from_memory(blend, blend_size, NULL, 0); + bfd = BLO_read_from_memory(blend, blend_size, NULL, BLO_READ_SKIP_NONE); if (bfd) { bmain = bfd->main; |