diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-23 17:24:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-23 17:24:13 +0300 |
commit | 392829c6ea2350078f1018a216190cea8acf6e4f (patch) | |
tree | 7fbc1c434d74aacae5fa8819cd9f3d573a3bb493 | |
parent | edc5cf1f96f0f0a0eff65a4aa574dfae9c2fc606 (diff) |
fix [#26588] In render view, Blender crashes when collapsing an opened split render pane if you have the histogram tab open in the pane your collapsing.
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 1b5cae2ab05..1d643ba1a89 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -460,7 +460,9 @@ static SpaceLink *image_duplicate(SpaceLink *sl) /* clear or remove stuff from old */ if(simagen->cumap) simagen->cumap= curvemapping_copy(simagen->cumap); - + + scopes_new(&simagen->scopes); + return (SpaceLink *)simagen; } |