Fix uninitited list pointer when duplicate an area.
authorDiego Borghetti <bdiego@gmail.com>
Thu, 17 Jan 2008 16:22:37 +0000 (16:22 +0000)
committerDiego Borghetti <bdiego@gmail.com>
Thu, 17 Jan 2008 16:22:37 +0000 (16:22 +0000)
source/blender/editors/screen/screen_edit.c

index 57e93f537d6900d6314714969f30d0b966165c42..adc52b60d727bbd4249990b10cbba8f762e4e0e8 100644 (file)
@@ -452,6 +452,7 @@ static void screen_copy(bScreen *to, bScreen *from)
                sa->uiblocks.first= sa->uiblocks.last= NULL;
                sa->panels.first= sa->panels.last= NULL;
                sa->regionbase.first= sa->regionbase.last= NULL;
+               sa->actionzones.first= sa->actionzones.last= NULL;
                sa->scriptlink.totscript= 0;
                
                area_copy_data(sa, saf, 0);