Volumes: copy display settings in BKE_volume_new_for_eval
This commit is contained in:
parent
f79b4850fb
commit
5e6459ac1c
|
@ -1269,6 +1269,8 @@ Volume *BKE_volume_new_for_eval(const Volume *volume_src)
|
|||
STRNCPY(volume_dst->id.name, volume_src->id.name);
|
||||
volume_dst->mat = (Material **)MEM_dupallocN(volume_src->mat);
|
||||
volume_dst->totcol = volume_src->totcol;
|
||||
volume_dst->render = volume_src->render;
|
||||
volume_dst->display = volume_src->display;
|
||||
BKE_volume_init_grids(volume_dst);
|
||||
|
||||
return volume_dst;
|
||||
|
|
Loading…
Reference in New Issue