Remove unneeded notifier data added in revision 26219.
authorMartin Poirier <theeth@yahoo.com>
Mon, 25 Jan 2010 19:42:33 +0000 (19:42 +0000)
committerMartin Poirier <theeth@yahoo.com>
Mon, 25 Jan 2010 19:42:33 +0000 (19:42 +0000)
Fix a lot of notifier calls to stop abusing ND_TRANSFORM and use more appropriate data flags.

19 files changed:
source/blender/editors/armature/editarmature.c
source/blender/editors/armature/poseSlide.c
source/blender/editors/armature/poselib.c
source/blender/editors/armature/poseobject.c
source/blender/editors/object/object_edit.c
source/blender/editors/space_action/space_action.c
source/blender/editors/space_buttons/space_buttons.c
source/blender/editors/space_graph/space_graph.c
source/blender/editors/space_nla/nla_buttons.c
source/blender/editors/space_nla/space_nla.c
source/blender/editors/space_outliner/outliner.c
source/blender/editors/space_outliner/space_outliner.c
source/blender/editors/space_view3d/space_view3d.c
source/blender/editors/space_view3d/view3d_buttons.c
source/blender/editors/space_view3d/view3d_snap.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/editors/transform/transform.c
source/blender/makesrna/intern/rna_pose.c
source/blender/windowmanager/WM_types.h

index 8d6fa3ba020dcaa7193706900d2d42259e40dd0b..992ca8909c15a790ccb757428a822c139661d34c 100644 (file)
@@ -632,7 +632,7 @@ static int apply_armature_pose2bones_exec (bContext *C, wmOperator *op)
        applyarmature_fix_boneparents(scene, ob);
        
        /* note, notifier might evolve */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, ob);
+       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, ob);
        
        return OPERATOR_FINISHED;
 }
@@ -1129,7 +1129,7 @@ static int separate_armature_exec (bContext *C, wmOperator *op)
        ED_armature_to_edit(obedit);
        
        /* note, notifier might evolve */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, obedit);
+       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, obedit);
        
        /* recalc/redraw + cleanup */
        WM_cursor_wait(0);
@@ -1803,7 +1803,7 @@ static int armature_delete_selected_exec(bContext *C, wmOperator *op)
        
        ED_armature_sync_selection(arm->edbo);
 
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, obedit);
+       WM_event_add_notifier(C, NC_OBJECT|ND_BONE_SELECT, obedit);
 
        return OPERATOR_FINISHED;
 }
@@ -2145,7 +2145,7 @@ static int armature_calc_roll_exec(bContext *C, wmOperator *op)
        
 
        /* note, notifier might evolve */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, ob);
+       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, ob);
        
        return OPERATOR_FINISHED;
 }
@@ -3176,7 +3176,7 @@ static int armature_merge_exec (bContext *C, wmOperator *op)
        
        /* updates */
        ED_armature_sync_selection(arm->edbo);
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, obedit);
+       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, obedit);
        
        return OPERATOR_FINISHED;
 }
@@ -3467,7 +3467,7 @@ static int armature_bone_primitive_add_exec(bContext *C, wmOperator *op)
                add_v3_v3v3(bone->tail, bone->head, imat[2]);   // bone with unit length 1, pointing up Z
 
        /* note, notifier might evolve */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, obedit);
+       WM_event_add_notifier(C, NC_OBJECT|ND_DRAW, obedit);
        
        return OPERATOR_FINISHED;
 }
@@ -3559,7 +3559,7 @@ static int armature_subdivide_exec(bContext *C, wmOperator *op)
        CTX_DATA_END;
        
        /* note, notifier might evolve */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, obedit);
+       WM_event_add_notifier(C, NC_OBJECT|ND_BONE_SELECT, obedit);
        
        return OPERATOR_FINISHED;
 }
@@ -3729,7 +3729,7 @@ static int armature_switch_direction_exec(bContext *C, wmOperator *op)
        BLI_freelistN(&chains); 
 
        /* note, notifier might evolve */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, ob);
+       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, ob);
        
        return OPERATOR_FINISHED;
 }
@@ -3878,7 +3878,7 @@ static int armature_parent_set_exec(bContext *C, wmOperator *op)
        
 
        /* note, notifier might evolve */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, ob);
+       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, ob);
        
        return OPERATOR_FINISHED;
 }
@@ -3956,7 +3956,7 @@ static int armature_parent_clear_exec(bContext *C, wmOperator *op)
        ED_armature_sync_selection(arm->edbo);
 
        /* note, notifier might evolve */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, ob);
+       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, ob);
        
        return OPERATOR_FINISHED;
 }
index 0e066b112b067855aed3a0994aa1458da4d8e593..3c6073a1cf8db613ec19f84fb624c7e54ed7912f 100644 (file)
@@ -287,7 +287,6 @@ static void pose_slide_refresh (bContext *C, tPoseSlideOp *pso)
        
        /* note, notifier might evolve */
        WM_event_add_notifier(C, NC_OBJECT|ND_POSE, pso->ob);
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, NULL); 
 }
 
 /* helper for apply() callabcks - find the next F-Curve with matching path... */
index 17d82521a6e556d1f51fab8dbfdd5bc7ca53a1d2..bbd60af018b8bae4759804377f8a9e69d43f2998 100644 (file)
@@ -901,7 +901,7 @@ static void poselib_preview_apply (bContext *C, wmOperator *op)
        }
        
        /* request drawing of view + clear redraw flag */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM|ND_POSE, pld->ob);
+       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, pld->ob);
        pld->redraw= PL_PREVIEW_NOREDRAW;
 }
 
index 7799c6e6e89b670547d1aea49812cda5b34825b0..1e94817100cf6b657d5916ac2efd8402e0aea2be 100644 (file)
@@ -1089,7 +1089,7 @@ static int pose_paste_exec (bContext *C, wmOperator *op)
        }
        
        /* notifiers for updates */
-       WM_event_add_notifier(C, NC_OBJECT|ND_POSE|ND_TRANSFORM, ob);
+       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, ob);
        WM_event_add_notifier(C, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL); // XXX not really needed, but here for completeness...
 
        return OPERATOR_FINISHED;
index e2d714fac0dc8d63a5995de3f3f94b2a5f9ca7d0..4c97bf934c19257c0264ffd290ae32a0024ec65e 100644 (file)
@@ -1656,7 +1656,7 @@ static int object_calculate_paths_exec (bContext *C, wmOperator *op)
        ED_objects_recalculate_paths(C, scene);
        
        /* notifiers for updates */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, NULL);
+       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, NULL);
        
        return OPERATOR_FINISHED; 
 }
@@ -1701,7 +1701,7 @@ static int object_clear_paths_exec (bContext *C, wmOperator *op)
        ED_objects_clear_paths(C, scene);
        
        /* notifiers for updates */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, NULL);
+       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, NULL);
        
        return OPERATOR_FINISHED; 
 }
index 2cf21186233d6b5a3c2d3a97a34c2ca23cfa67d6..803a7aee8cc8e5a9e254ddd6e2979e68f6c27cab 100644 (file)
@@ -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;
index 0acdd2825f5360cb936f814f9e42fb219443afbb..17f5c6bf7c37e20d76643d1cb382fca37e0709e2 100644 (file)
@@ -279,6 +279,7 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn)
                                case ND_TRANSFORM:
                                        buttons_area_redraw(sa, BCONTEXT_OBJECT);
                                        break;
+                               case ND_POSE:
                                case ND_BONE_ACTIVE:
                                case ND_BONE_SELECT:
                                        buttons_area_redraw(sa, BCONTEXT_BONE);
@@ -303,8 +304,6 @@ 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);
index a623c5aae3a1125e61876f0b1a54b810f525fbcd..bfb2b0f666a93ba1caec26693b31d68a3eba6858 100644 (file)
@@ -462,7 +462,7 @@ static void graph_listener(ScrArea *sa, wmNotifier *wmn)
                                        sipo->flag |= SIPO_TEMP_NEEDCHANSYNC;
                                        ED_area_tag_refresh(sa);
                                        break;
-                               case ND_VIEW3D_TRANSFORM:
+                               case ND_TRANSFORM:
                                        break; /*do nothing*/                                   
                                        
                                default: /* just redrawing the view will do */
index cd92621875769e9108c9171abd2119ce080ea16e..71717a5432cd3b84237e8a44f9f2a30601396d82 100644 (file)
@@ -97,7 +97,8 @@ static void do_nla_region_buttons(bContext *C, void *arg, int event)
        }
        
        /* default for now */
-       WM_event_add_notifier(C, NC_SCENE|NC_OBJECT|ND_TRANSFORM, NULL);
+       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, NULL);
+       WM_event_add_notifier(C, NC_SCENE|ND_TRANSFORM, NULL);
 }
 
 static int nla_panel_context(const bContext *C, PointerRNA *adt_ptr, PointerRNA *nlt_ptr, PointerRNA *strip_ptr)
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)
index 97f1d34f673345002e471d1e9bcf0e2e91318738..867ba794da897130e72878f8643fdb43169ea566 100644 (file)
@@ -2019,7 +2019,7 @@ static int tree_element_active_posegroup(bContext *C, Scene *scene, TreeElement
        if(set) {
                if (ob->pose) {
                        ob->pose->active_group= te->index+1;
-                       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, ob);
+                       WM_event_add_notifier(C, NC_OBJECT|ND_DRAW, ob);
                }
        }
        else {
@@ -4726,7 +4726,7 @@ static void restrictbutton_modifier_cb(bContext *C, void *poin, void *poin2)
        DAG_id_flush_update(&ob->id, OB_RECALC_DATA);
        object_handle_update(scene, ob);
 
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, ob);
+       WM_event_add_notifier(C, NC_OBJECT|ND_DRAW, ob);
 }
 
 static void restrictbutton_bone_cb(bContext *C, void *poin, void *poin2)
index 21bc602dcac0fb2ed8bec74005970db3f80a8bbd..568c0b353e3941d9edb3c7783fc5bcb077ee07ae 100644 (file)
@@ -128,10 +128,11 @@ static void outliner_main_area_listener(ARegion *ar, wmNotifier *wmn)
                        break;
                case NC_OBJECT:
                        switch(wmn->data) {
+                               case ND_TRANSFORM:
+                                       /* transform doesn't change outliner data */
+                                       break;
                                case ND_BONE_ACTIVE:
                                case ND_BONE_SELECT:
-                               case ND_TRANSFORM:
-                               case ND_VIEW3D_TRANSFORM:
                                        ED_region_tag_redraw(ar);
                                        break;
                                case ND_MODIFIER:
index 23003790dc3f40ffd8f66f841c096e7e7b447a03..b3bd31d53ac55cd3b1efaf8c2f5ea9d1ef63ed67 100644 (file)
@@ -454,7 +454,6 @@ static void view3d_main_area_listener(ARegion *ar, wmNotifier *wmn)
                        switch(wmn->data) {
                                case ND_FRAME:
                                case ND_TRANSFORM:
-                               case ND_VIEW3D_TRANSFORM:
                                case ND_OB_ACTIVE:
                                case ND_OB_SELECT:
                                case ND_LAYER:
@@ -471,7 +470,6 @@ static void view3d_main_area_listener(ARegion *ar, wmNotifier *wmn)
                                case ND_BONE_ACTIVE:
                                case ND_BONE_SELECT:
                                case ND_TRANSFORM:
-                               case ND_VIEW3D_TRANSFORM:
                                case ND_POSE:
                                case ND_DRAW:
                                case ND_MODIFIER:
@@ -638,7 +636,6 @@ static void view3d_buttons_area_listener(ARegion *ar, wmNotifier *wmn)
                                case ND_BONE_ACTIVE:
                                case ND_BONE_SELECT:
                                case ND_TRANSFORM:
-                               case ND_VIEW3D_TRANSFORM:
                                case ND_POSE:
                                case ND_DRAW:
                                case ND_KEYS:
index 079db41f8c8e1d6ec68d90d547a948497cc16fcb..2ba281a9594e2021dff10b5576dee4e8593e6782 100644 (file)
@@ -900,7 +900,7 @@ static void do_view3d_region_buttons(bContext *C, void *arg, int event)
        }
 
        /* default for now */
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, ob);
+       WM_event_add_notifier(C, NC_SPACE|ND_SPACE_VIEW3D, ob);
 }
 
 void removeTransformOrientation_func(bContext *C, void *target, void *unused)
index 2ff45ea600ec26091df1bba7c1a4bdefa50894dd..6d2638154d2e5a05c7ff558bd8233f4cedab36d3 100644 (file)
@@ -707,7 +707,7 @@ static int snap_curs_to_grid(bContext *C, wmOperator *op)
        curs[1]= gridf*floor(.5+curs[1]/gridf);
        curs[2]= gridf*floor(.5+curs[2]/gridf);
        
-       WM_event_add_notifier(C, NC_SCENE|ND_TRANSFORM, scene); // hrm
+       WM_event_add_notifier(C, NC_SPACE|ND_SPACE_VIEW3D, v3d);        // hrm
        
        return OPERATOR_FINISHED;
 }
@@ -814,7 +814,7 @@ static int snap_curs_to_sel(bContext *C, wmOperator *op)
                        }
                }
        }
-       WM_event_add_notifier(C, NC_SCENE|ND_TRANSFORM, scene); // hrm
+       WM_event_add_notifier(C, NC_SPACE|ND_SPACE_VIEW3D, v3d);
        
        return OPERATOR_FINISHED;
 }
@@ -866,7 +866,7 @@ static int snap_curs_to_active(bContext *C, wmOperator *op)
                }
        }
        
-       WM_event_add_notifier(C, NC_SCENE|ND_TRANSFORM, scene);
+       WM_event_add_notifier(C, NC_SPACE|ND_SPACE_VIEW3D, v3d);
        return OPERATOR_FINISHED;
 }
 
@@ -1097,7 +1097,7 @@ static int snap_curs_to_center(bContext *C, wmOperator *op)
     curs[1]= 0.0;
     curs[2]= 0.0;
        
-    WM_event_add_notifier(C, NC_SCENE|ND_TRANSFORM, scene);    // hrm
+    WM_event_add_notifier(C, NC_SPACE|ND_SPACE_VIEW3D, v3d);
        
     return OPERATOR_FINISHED;
 }
index 8fe34df103fd90d517aec9387ec3ebf5f0995ac7..a83d226ae79ec9a748c16aab30508918be0a13bb 100644 (file)
@@ -423,7 +423,7 @@ static int view3d_setcameratoview_exec(bContext *C, wmOperator *op)
        setcameratoview3d(v3d, rv3d, v3d->camera);
        rv3d->persp = RV3D_CAMOB;
        
-       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, CTX_data_scene(C));
+       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, v3d->camera);
        
        return OPERATOR_FINISHED;
 
index 143fc7632b424f54b2f2e8b44d39bd1a86670937..7b5410069ff97aa22027238fcf278d7803266139 100644 (file)
@@ -302,7 +302,7 @@ static void viewRedrawForce(bContext *C, TransInfo *t)
        if (t->spacetype == SPACE_VIEW3D)
        {
                /* Do we need more refined tags? */
-               WM_event_add_notifier(C, NC_OBJECT|ND_VIEW3D_TRANSFORM, NULL);
+               WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, NULL);
                
                /* for realtime animation record - send notifiers recognised by animation editors */
                if ((t->animtimer) && IS_AUTOKEY_ON(t->scene))
index 9ff90d0c52a087249c8ce00d76428460018d986d..17c793b3b8c48cdb00a6f3df63ab7b26941a3f44 100644 (file)
@@ -731,14 +731,14 @@ static void rna_def_pose_channel(BlenderRNA *brna)
        RNA_def_property_editable_array_func(prop, "rna_PoseChannel_location_editable");
        RNA_def_property_ui_text(prop, "Location", "");
        RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
-       RNA_def_property_update(prop, NC_OBJECT|ND_TRANSFORM, "rna_Pose_update");
+       RNA_def_property_update(prop, NC_OBJECT|ND_POSE, "rna_Pose_update");
 
        prop= RNA_def_property(srna, "scale", PROP_FLOAT, PROP_XYZ);
        RNA_def_property_float_sdna(prop, NULL, "size");
        RNA_def_property_editable_array_func(prop, "rna_PoseChannel_scale_editable");
        RNA_def_property_ui_text(prop, "Scale", "");
        RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
-       RNA_def_property_update(prop, NC_OBJECT|ND_TRANSFORM, "rna_Pose_update");
+       RNA_def_property_update(prop, NC_OBJECT|ND_POSE, "rna_Pose_update");
 
        prop= RNA_def_property(srna, "rotation_quaternion", PROP_FLOAT, PROP_QUATERNION);
        RNA_def_property_float_sdna(prop, NULL, "quat");
@@ -746,7 +746,7 @@ static void rna_def_pose_channel(BlenderRNA *brna)
        RNA_def_property_float_array_default(prop, default_quat);
        RNA_def_property_ui_text(prop, "Quaternion Rotation", "Rotation in Quaternions.");
        RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
-       RNA_def_property_update(prop, NC_OBJECT|ND_TRANSFORM, "rna_Pose_update");
+       RNA_def_property_update(prop, NC_OBJECT|ND_POSE, "rna_Pose_update");
        
                /* XXX: for axis-angle, it would have been nice to have 2 separate fields for UI purposes, but
                 * having a single one is better for Keyframing and other property-management situations...
@@ -758,14 +758,14 @@ static void rna_def_pose_channel(BlenderRNA *brna)
        RNA_def_property_float_array_default(prop, default_axisAngle);
        RNA_def_property_ui_text(prop, "Axis-Angle Rotation", "Angle of Rotation for Axis-Angle rotation representation.");
        RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
-       RNA_def_property_update(prop, NC_OBJECT|ND_TRANSFORM, "rna_Pose_update");
+       RNA_def_property_update(prop, NC_OBJECT|ND_POSE, "rna_Pose_update");
        
        prop= RNA_def_property(srna, "rotation_euler", PROP_FLOAT, PROP_EULER);
        RNA_def_property_float_sdna(prop, NULL, "eul");
        RNA_def_property_editable_array_func(prop, "rna_PoseChannel_rotation_euler_editable");
        RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
        RNA_def_property_ui_text(prop, "Euler Rotation", "Rotation in Eulers.");
-       RNA_def_property_update(prop, NC_OBJECT|ND_TRANSFORM, "rna_Pose_update");
+       RNA_def_property_update(prop, NC_OBJECT|ND_POSE, "rna_Pose_update");
        
        prop= RNA_def_property(srna, "rotation_mode", PROP_ENUM, PROP_NONE);
        RNA_def_property_enum_sdna(prop, NULL, "rotmode");
@@ -823,7 +823,7 @@ static void rna_def_pose_channel(BlenderRNA *brna)
        RNA_def_property_boolean_negative_sdna(prop, NULL, "ikflag", BONE_IK_NO_YDOF);
        RNA_def_property_ui_text(prop, "IK Y DoF", "Allow movement around the Y axis.");
        RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
-       RNA_def_property_update(prop, NC_OBJECT|ND_POSE|ND_TRANSFORM, "rna_Pose_IK_update");
+       RNA_def_property_update(prop, NC_OBJECT|ND_POSE, "rna_Pose_IK_update");
 
        prop= RNA_def_property(srna, "ik_dof_z", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_negative_sdna(prop, NULL, "ikflag", BONE_IK_NO_ZDOF);
index 1f5465b9730d5a6d082fc132e7a5628248d8b591..4caa4b973f14f9c72638f4044f03ce467bbd7929 100644 (file)
@@ -188,7 +188,6 @@ typedef struct wmNotifier {
 #define ND_CONSTRAINT          (24<<16) /* constraints edited */
 #define ND_PARTICLE_DATA       (25<<16) /* particles edited */
 #define ND_PARTICLE_SELECT     (26<<16) /* particles selecting change */
-#define ND_VIEW3D_TRANSFORM    (27<<16)
 
        /* NC_MATERIAL Material */
 #define        ND_SHADING                      (30<<16)