Fix volume object not rendering correct frame right after loading

This commit is contained in:
Brecht Van Lommel 2020-04-12 15:38:44 +02:00
parent e2003d9212
commit 5b79e0b80e
1 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,8 @@ static int volume_import_exec(bContext *C, wmOperator *op)
object->rot[0] += M_PI_2;
}
BKE_volume_unload(volume);
imported = true;
}
BLI_freelistN(&ranges);