diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-04-12 16:38:44 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-04-12 16:44:28 +0300 |
commit | 5b79e0b80e49c1f75736a8b0bdeb8560a934b072 (patch) | |
tree | 17b21c1fb27d218eec5a46297e5e923d1667bb05 /source/blender | |
parent | e2003d9212575038ad79791fcdfab00199bf130f (diff) |
Fix volume object not rendering correct frame right after loading
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/object/object_volume.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_volume.c b/source/blender/editors/object/object_volume.c index b7da91b70ba..3c1f7da2bd6 100644 --- a/source/blender/editors/object/object_volume.c +++ b/source/blender/editors/object/object_volume.c @@ -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); |