diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-14 20:25:46 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-14 20:25:46 +0300 |
commit | 131fa2e00c35ff78042a4f793891eaeb880d715c (patch) | |
tree | 381cf85e2aaa9f5c821805f1c7fd39e3c681f838 /source/blender/editors/space_outliner/space_outliner.c | |
parent | 8be23f94902a9338c5fad1d826a69bfb4be3630c (diff) |
2.5
Fix for crash on joining (previously splitted) areas.
Reason was the stored regions in pushed 'spaces' not being copied.
next: free running handlers on area join/split.
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.c')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index b53e5ce427d..923710d22b3 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -548,6 +548,10 @@ static SpaceLink *outliner_duplicate(SpaceLink *sl) if(soutlinern->rnapath) soutlinern->rnapath= MEM_dupallocN(soutlinern->rnapath); + soutlinern->oops.first= soutlinern->oops.last= NULL; + soutlinern->tree.first= soutlinern->tree.last= NULL; + soutlinern->treestore= NULL; + return (SpaceLink *)soutlinern; } |