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_action
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_action')
-rw-r--r--source/blender/editors/space_action/space_action.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c
index 2cf21186233..803a7aee8cc 100644
--- a/source/blender/editors/space_action/space_action.c
+++ b/source/blender/editors/space_action/space_action.c
@@ -326,10 +326,12 @@ static void action_main_area_listener(ARegion *ar, wmNotifier *wmn)
break;
case NC_OBJECT:
switch(wmn->data) {
+ case ND_TRANSFORM:
+ /* moving object shouldn't need to redraw action */
+ break;
case ND_BONE_ACTIVE:
case ND_BONE_SELECT:
case ND_KEYS:
- case ND_TRANSFORM:
ED_region_tag_redraw(ar);
break;
}
@@ -386,8 +388,9 @@ static void action_listener(ScrArea *sa, wmNotifier *wmn)
saction->flag |= SACTION_TEMP_NEEDCHANSYNC;
ED_area_tag_refresh(sa);
break;
- case ND_VIEW3D_TRANSFORM:
- break; /*do nothing*/
+ case ND_TRANSFORM:
+ /* moving object shouldn't need to redraw action */
+ break;
default: /* just redrawing the view will do */
ED_area_tag_redraw(sa);
break;