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:
authorJoseph Eagar <joeedh@gmail.com>2010-01-24 07:26:01 +0300
committerJoseph Eagar <joeedh@gmail.com>2010-01-24 07:26:01 +0300
commit351d239ac7cdc028549ae84f2ff1acd594570a07 (patch)
treed9f1c9bddaa75c3fdfaf4006163f95a1d56d3919 /source/blender/editors/space_buttons/space_buttons.c
parent27db00bf1888770015ccbdbc8648540d21327603 (diff)
View3d transform was sending a too-general notifier to redraw, causing several animation editors and the property editor to redraw too, which can really slow things down. added a more specific ND_VIEW3D_TRANSFORM notifier to solve this.
Diffstat (limited to 'source/blender/editors/space_buttons/space_buttons.c')
-rw-r--r--source/blender/editors/space_buttons/space_buttons.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c
index 8d35e6ed69e..0acdd2825f5 100644
--- a/source/blender/editors/space_buttons/space_buttons.c
+++ b/source/blender/editors/space_buttons/space_buttons.c
@@ -303,6 +303,8 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn)
/* currently works by redraws... if preview is set, it (re)starts job */
sbuts->preview= 1;
break;
+ case ND_VIEW3D_TRANSFORM:
+ break; /*do nothing*/
default:
/* Not all object RNA props have a ND_ notifier (yet) */
ED_area_tag_redraw(sa);