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>2013-08-02 17:21:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-02 17:21:32 +0400
commitefe690a3a5a53e7857838236159f6b1a41e48bd8 (patch)
treec56a6ab84f159e5ea92f28f6108edfbca3b425b6 /source/blender/editors/space_outliner
parent53024698341690f53ce68f5b11b4c3635df833b5 (diff)
code cleanup:
- incorrect NULL check in logic UI drawing - incorrect NULL check in octree quad test
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_tools.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index fb56c5c6dfe..1e4af4304f0 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -683,6 +683,10 @@ static int outliner_object_operation_exec(bContext *C, wmOperator *op)
outliner_do_object_operation(C, scene, soops, &soops->tree, item_rename_cb);
str = "Rename Object";
}
+ else {
+ BLI_assert(0);
+ return OPERATOR_CANCELLED;
+ }
ED_undo_push(C, str);