Revision: 30129
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30129
Author:   nexyon
Date:     2010-07-08 19:47:46 +0200 (Thu, 08 Jul 2010)

Log Message:
-----------
Fix for ipo conversion on file transition in the game engine.

Modified Paths:
--------------
    
branches/soc-2010-nexyon/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp

Modified: 
branches/soc-2010-nexyon/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
===================================================================
--- 
branches/soc-2010-nexyon/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
  2010-07-08 17:46:56 UTC (rev 30128)
+++ 
branches/soc-2010-nexyon/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
  2010-07-08 17:47:46 UTC (rev 30129)
@@ -392,6 +392,12 @@
                        AUD_set3DSetting(AUD_3DS_DOPPLER_FACTOR, 
scene->audio.doppler_factor);
                        AUD_set3DSetting(AUD_3DS_DISTANCE_MODEL, 
scene->audio.distance_model);
 
+                       // from see blender.c:
+                       // FIXME: this version patching should really be part 
of the file-reading code,
+                       // but we still get too many unrelated data-corruption 
crashes otherwise...
+                       if (blenderdata->versionfile < 250)
+                               do_versions_ipos_to_animato(blenderdata);
+
                        if (sceneconverter)
                        {
                                // convert and add scene


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to