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:
authorCampbell Barton <ideasman42@gmail.com>2010-09-06 10:48:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-06 10:48:19 +0400
commita785361b41b1de4c3cd9e57c7acf3bc0a40de214 (patch)
tree85784215ff67e9cd7ec73711ffba1c4560a4976d /source/blender/editors/space_outliner
parentb60bc0ee85b6969f2b8fe546e66f25a4d94db610 (diff)
bugfix [#23695] SigSegV when deleting camera from multiple scenes via outline pop-up menu
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner.c b/source/blender/editors/space_outliner/outliner.c
index ebdb546fc9d..13c55e687ea 100644
--- a/source/blender/editors/space_outliner/outliner.c
+++ b/source/blender/editors/space_outliner/outliner.c
@@ -3235,8 +3235,8 @@ static void outliner_do_object_operation(bContext *C, Scene *scene, SpaceOops *s
if(sce && scene != sce) {
ED_screen_set_scene(C, sce);
}
-
- operation_cb(C, scene, te, NULL, tselem);
+ /* important to use 'sce' not scene else deleting objects can crash */
+ operation_cb(C, sce, te, NULL, tselem);
}
}
if((tselem->flag & TSE_CLOSED)==0) {