Remove unneeded notifier data added in revision 26219.
[blender-staging.git] / source / blender / editors / space_nla / space_nla.c
index f3001d4a2583443c8227fa5ddff4628ee0e4b597..77407769f3b2a61a70e26ae131cc9fdc9fdb93da 100644 (file)
@@ -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)