diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-11-18 16:13:23 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-11-18 16:13:23 +0400 |
commit | 53753c0ddc947aa74246492fb76466198a28db58 (patch) | |
tree | 26d54a6b7489815d5baeaeba2e6f87fb3f8698d6 /source/gameengine/Ketsji | |
parent | 2b0162b6226df9dcb9b6819ce93f2d434afc69c4 (diff) |
Fix T37488: Crash with --debug reading userpref.blend
Issue was in fact caused by wrong DNA storage, which
apparently was considering unsigned long as just 4
bytes here.
Now use uint64_t to be sure timestamp does fit into
storage on all the platforms.
Thanks Campbell for help looking in the issue.
Diffstat (limited to 'source/gameengine/Ketsji')
-rw-r--r-- | source/gameengine/Ketsji/KX_PythonMain.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_PythonMain.h b/source/gameengine/Ketsji/KX_PythonMain.h index e638fa9094e..c627a4a147a 100644 --- a/source/gameengine/Ketsji/KX_PythonMain.h +++ b/source/gameengine/Ketsji/KX_PythonMain.h @@ -32,6 +32,7 @@ #ifndef __KX_PYTHON_MAIN__ #define __KX_PYTHON_MAIN__ +#include "BLI_sys_types.h" #include "BKE_main.h" #include "DNA_scene_types.h" extern "C" char *KX_GetPythonMain(struct Scene* scene); |