First bugfix in 3d previewrender; going full-window and back crashed.
Thanks Campbell! :)
This commit is contained in:
@@ -4768,6 +4768,7 @@ void duplicatespacelist(ScrArea *newarea, ListBase *lb1, ListBase *lb2)
|
|||||||
if(vd->bgpic->ima) vd->bgpic->ima->id.us++;
|
if(vd->bgpic->ima) vd->bgpic->ima->id.us++;
|
||||||
}
|
}
|
||||||
vd->clipbb= MEM_dupallocN(vd->clipbb);
|
vd->clipbb= MEM_dupallocN(vd->clipbb);
|
||||||
|
vd->ri= NULL;
|
||||||
}
|
}
|
||||||
else if(sl->spacetype==SPACE_IMAGE) {
|
else if(sl->spacetype==SPACE_IMAGE) {
|
||||||
SpaceImage *sima= (SpaceImage *)sl;
|
SpaceImage *sima= (SpaceImage *)sl;
|
||||||
|
|||||||
Reference in New Issue
Block a user