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:
authorTon Roosendaal <ton@blender.org>2009-02-07 22:37:29 +0300
committerTon Roosendaal <ton@blender.org>2009-02-07 22:37:29 +0300
commit2f0f8c8bae8c6f55290966d9fb29c3d2a4c51793 (patch)
tree59bf5bd438f84dcaac3e39d7a269b03151c5a3d4 /source/blender/editors/screen/area.c
parentf78aa0ab65524f70ab7d0610835068718fb5a56f (diff)
2.5
- Screen browse button back - Several fixes in using screens in more windows. Still has loose ends, but things are definitely more stable!
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 347de2e8b6b..01ae32e78f6 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -642,6 +642,10 @@ void area_copy_data(ScrArea *sa1, ScrArea *sa2, int swap_space)
else {
BKE_spacedata_freelist(&sa1->spacedata);
BKE_spacedata_copylist(&sa1->spacedata, &sa2->spacedata);
+
+ if(sa1->spacedata.first==NULL) {
+ printf("copy data error\n");
+ }
}
/* regions */