Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2008-01-17 11:26:58 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-01-17 11:26:58 +0300
commite7539ef134025153e58726c5d11d44d1472f3bbb (patch)
tree93af4514863abae685c0902a53e8bc91dda04cff
parentbd60122a2ac59a24a71db3f567d6a2c07f58dccf (diff)
* don't copy azones- these are initiated runtime always.
-rw-r--r--source/blender/editors/screen/area.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 188e4be72e2..2c2dc85295d 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -434,13 +434,7 @@ void area_copy_data(ScrArea *sa1, ScrArea *sa2, int swap_space)
BLI_duplicatelist(&sa1->regionbase, &sa2->regionbase);
for(ar= sa1->regionbase.first; ar; ar= ar->next)
ar->swinid= 0;
-
- /* azones */
- BLI_freelistN(&sa1->actionzones);
- BLI_duplicatelist(&sa1->actionzones, &sa2->actionzones);
- for(az= sa1->actionzones.first; az; az= az->next)
- az->flag= 0;
-
+
/* scripts */
BPY_free_scriptlink(&sa1->scriptlink);
sa1->scriptlink= sa2->scriptlink;