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:
authorMartin Poirier <theeth@yahoo.com>2010-01-25 22:42:33 +0300
committerMartin Poirier <theeth@yahoo.com>2010-01-25 22:42:33 +0300
commit4907e8df202cea41e52b33a0f6a6f852e3a07818 (patch)
tree44c2fa34059ed2870e3c6771c5e51141e263b88c /source/blender/editors/space_nla/space_nla.c
parentc72fcc759bd8481033631a30be57befe54492496 (diff)
Remove unneeded notifier data added in revision 26219.
Fix a lot of notifier calls to stop abusing ND_TRANSFORM and use more appropriate data flags.
Diffstat (limited to 'source/blender/editors/space_nla/space_nla.c')
-rw-r--r--source/blender/editors/space_nla/space_nla.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_nla/space_nla.c b/source/blender/editors/space_nla/space_nla.c
index f3001d4a258..77407769f3b 100644
--- a/source/blender/editors/space_nla/space_nla.c
+++ b/source/blender/editors/space_nla/space_nla.c
@@ -485,14 +485,14 @@ static void nla_listener(ScrArea *sa, wmNotifier *wmn)
ED_area_tag_refresh(sa);
break;
case NC_OBJECT:
- /*switch (wmn->data) {
- case ND_BONE_SELECT:
- case ND_BONE_ACTIVE:
+ switch (wmn->data) {
+ case ND_TRANSFORM:
+ /* do nothing */
+ break;
+ default:
ED_area_tag_refresh(sa);
break;
- }*/
- if (wmn->data != ND_VIEW3D_TRANSFORM)
- ED_area_tag_refresh(sa);
+ }
break;
case NC_SPACE:
if(wmn->data == ND_SPACE_NLA)