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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-12-17 05:13:02 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-12-17 05:13:02 +0400
commit994f4bb3f78a467b6c34e30a9b8868fc4d01caf0 (patch)
tree937012cf0ba4a01d928c8c52c7794a683112d6a5 /source/blender/editors/space_outliner
parentad96dacbc5a7cc61ccf74405927847f243a955b5 (diff)
Code cleanup: fix a few warnings (>= 0 and == -1 tests on unsigned types).
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index 89547edaafa..e728267f45f 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -396,8 +396,8 @@ static int tree_element_active_defgroup(bContext *C, Scene *scene, TreeElement *
/* id in tselem is object */
ob= (Object *)tselem->id;
if(set) {
+ BLI_assert(te->index+1 >= 0);
ob->actdef= te->index+1;
- BLI_assert(ob->actdef >= 0);
DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, ob);