Fix for bug #5758 and #17585: armatures with IK constraint did not
[blender.git] / source / gameengine / GamePlayer / ghost / GPG_ghost.cpp
index b0950fece5f8d964c75fbc41020de1f8b9587827..a50577e226662119b7e060ec526baa7d3b96b423 100644 (file)
@@ -54,6 +54,7 @@ extern "C"
 #endif  // __cplusplus
 #include "BKE_global.h"        
 #include "BKE_icons.h" 
+#include "BKE_node.h"  
 #include "BLI_blenlib.h"
 #include "DNA_scene_types.h"
 #include "BLO_readfile.h"
@@ -376,6 +377,8 @@ int main(int argc, char** argv)
                  ::DisposeNibReference(nibRef);
     */
 #endif // __APPLE__
+
+       init_nodesystem();
        
        GEN_init_messaging_system();
  
@@ -846,6 +849,8 @@ int main(int argc, char** argv)
                }
        }
 
+       free_nodesystem();
+
        if (pyGlobalDictString) {
                free(pyGlobalDictString);
                pyGlobalDictString = NULL;