forked from bartvdbraak/blender
Fix for ipo conversion on file transition in the game engine.
This commit is contained in:
parent
ce8942ddff
commit
3cef95cd93
@ -392,6 +392,12 @@ extern "C" void StartKetsjiShell(struct bContext *C, struct ARegion *ar, rcti *c
|
|||||||
AUD_set3DSetting(AUD_3DS_DOPPLER_FACTOR, scene->audio.doppler_factor);
|
AUD_set3DSetting(AUD_3DS_DOPPLER_FACTOR, scene->audio.doppler_factor);
|
||||||
AUD_set3DSetting(AUD_3DS_DISTANCE_MODEL, scene->audio.distance_model);
|
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)
|
if (sceneconverter)
|
||||||
{
|
{
|
||||||
// convert and add scene
|
// convert and add scene
|
||||||
|
Loading…
Reference in New Issue
Block a user