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:
authorSergey Sharybin <sergey.vfx@gmail.com>2010-09-18 12:37:47 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2010-09-18 12:37:47 +0400
commite2f439586498992969be5ac5631c51533545f3d4 (patch)
treec73c1292520a45c842d3d0976abcb04f8c2c9992 /source/blender/editors/object/object_constraint.c
parentd81315e9d221b3fdd0dafedff58398226590f468 (diff)
Fixed problems with outliner update in same cases caused by my previous commit.
This troubles were caused by "break" of ND_OBJECT case in outliner area listener, so not all cases were handled. Handle more data and actions in outline listener, but not refresh when it's actually unneeded (there where problems with it without that "break" -- extra refreshing could be made).
Diffstat (limited to 'source/blender/editors/object/object_constraint.c')
-rw-r--r--source/blender/editors/object/object_constraint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c
index baf71cb21d6..f5d87df10a1 100644
--- a/source/blender/editors/object/object_constraint.c
+++ b/source/blender/editors/object/object_constraint.c
@@ -808,7 +808,7 @@ static int constraint_delete_exec (bContext *C, wmOperator *op)
ED_object_constraint_update(ob); /* needed to set the flags on posebones correctly */
/* notifiers */
- WM_event_add_notifier(C, NC_OBJECT|ND_CONSTRAINT, ob);
+ WM_event_add_notifier(C, NC_OBJECT|ND_CONSTRAINT|NA_REMOVED, ob);
return OPERATOR_FINISHED;
}