diff options
-rw-r--r-- | source/blender/makesdna/DNA_world_types.h | 3 | ||||
-rw-r--r-- | source/gameengine/Converter/KX_BlenderSceneConverter.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h index fd367369bd5..bbe1fa6af19 100644 --- a/source/blender/makesdna/DNA_world_types.h +++ b/source/blender/makesdna/DNA_world_types.h @@ -92,6 +92,9 @@ typedef struct World { short dofsta, dofend, dofmin, dofmax; + int physicsEngine; + int pad; + struct Ipo *ipo; struct MTex *mtex[8]; diff --git a/source/gameengine/Converter/KX_BlenderSceneConverter.cpp b/source/gameengine/Converter/KX_BlenderSceneConverter.cpp index d3a67abecfc..15100cc3a00 100644 --- a/source/gameengine/Converter/KX_BlenderSceneConverter.cpp +++ b/source/gameengine/Converter/KX_BlenderSceneConverter.cpp @@ -183,7 +183,7 @@ void KX_BlenderSceneConverter::ConvertScene(const STR_String& scenename, if (blenderscene->world) { - switch (blenderscene->world->pad1) + switch (blenderscene->world->physicsEngine) { case 1: |