First bugfix in 3d previewrender; going full-window and back crashed.
authorTon Roosendaal <ton@blender.org>
Mon, 23 Jan 2006 22:59:22 +0000 (22:59 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 23 Jan 2006 22:59:22 +0000 (22:59 +0000)
Thanks Campbell! :)

source/blender/src/space.c

index 06a27a3886875649ab99989db01959e9fd81ed92..582a0e1f037492106e013bf0b1d5394135cd76e5 100644 (file)
@@ -4768,6 +4768,7 @@ void duplicatespacelist(ScrArea *newarea, ListBase *lb1, ListBase *lb2)
                                if(vd->bgpic->ima) vd->bgpic->ima->id.us++;
                        }
                        vd->clipbb= MEM_dupallocN(vd->clipbb);
+                       vd->ri= NULL;
                }
                else if(sl->spacetype==SPACE_IMAGE) {
                        SpaceImage *sima= (SpaceImage *)sl;