[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30129] branches/soc-2010-nexyon/source/ gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp: Fix for ipo conversion on file transition in the game engine.

Dalai Felinto dfelinto at gmail.com
Fri Jul 9 02:24:38 CEST 2010


Hi Joerg,
you may have to update that for gameplayer too, don't? If that's the
case this would be in
source/gameengine/GamePlayer/ghost/GPG_Application.cpp

Cheers,
Dalai
2010/7/8 Joerg Mueller <nexyon at gmail.com>:
> 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
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>


More information about the Bf-committers mailing list