diff --git a/source/blender/blenkernel/BKE_volume.hh b/source/blender/blenkernel/BKE_volume.hh index 887f1c714f7..b0664772aa4 100644 --- a/source/blender/blenkernel/BKE_volume.hh +++ b/source/blender/blenkernel/BKE_volume.hh @@ -129,9 +129,6 @@ struct VolumeRuntime { /** Current frame in sequence for evaluated volume. */ int frame = 0; - /** Default simplify level for volume grids loaded from files. */ - int default_simplify_level = 0; - /* Names for scalar grids which would need to be merged to recompose the velocity grid. */ char velocity_x_grid[64] = ""; char velocity_y_grid[64] = ""; diff --git a/source/blender/blenkernel/intern/volume.cc b/source/blender/blenkernel/intern/volume.cc index 7ef89e9ec43..42d274e3f98 100644 --- a/source/blender/blenkernel/intern/volume.cc +++ b/source/blender/blenkernel/intern/volume.cc @@ -165,7 +165,6 @@ static void volume_copy_data(Main * /*bmain*/, ID *id_dst, const ID *id_src, con } #endif - volume_dst->runtime->default_simplify_level = volume_src->runtime->default_simplify_level; volume_dst->runtime->frame = volume_src->runtime->frame; STRNCPY(volume_dst->runtime->velocity_x_grid, volume_src->runtime->velocity_x_grid); STRNCPY(volume_dst->runtime->velocity_y_grid, volume_src->runtime->velocity_y_grid); @@ -653,7 +652,6 @@ static void volume_update_simplify_level(Main *bmain, Volume *volume, const Deps { #ifdef WITH_OPENVDB const int simplify_level = BKE_volume_simplify_level(depsgraph); - volume->runtime->default_simplify_level = simplify_level; /* Replace grids with the new simplify level variants from the cache. */ if (BKE_volume_load(volume, bmain)) {