Index: source/blender/editors/space_action/space_action.c =================================================================== --- source/blender/editors/space_action/space_action.c (revision 25306) +++ source/blender/editors/space_action/space_action.c (working copy) @@ -289,6 +289,13 @@ case ND_KEYS: ED_region_tag_redraw(ar); break; + case ND_MODIFIER: + switch(wmn->action) { + case NA_RENAME: + ED_region_tag_redraw(ar); + break; + } + break; } break; case NC_ID: Index: source/blender/editors/space_buttons/space_buttons.c =================================================================== --- source/blender/editors/space_buttons/space_buttons.c (revision 25306) +++ source/blender/editors/space_buttons/space_buttons.c (working copy) @@ -271,6 +271,12 @@ case ND_BONE_ACTIVE: case ND_BONE_SELECT: case ND_MODIFIER: + switch(wmn->action) { + case NA_RENAME: + ED_area_tag_redraw(sa); + break; + } + break; case ND_CONSTRAINT: ED_area_tag_redraw(sa); break; Index: source/blender/editors/space_graph/space_graph.c =================================================================== --- source/blender/editors/space_graph/space_graph.c (revision 25306) +++ source/blender/editors/space_graph/space_graph.c (working copy) @@ -398,6 +398,13 @@ case ND_KEYS: ED_region_tag_redraw(ar); break; + case ND_MODIFIER: + switch(wmn->action) { + case NA_RENAME: + ED_region_tag_redraw(ar); + break; + } + break; } break; case NC_NODE: Index: source/blender/editors/space_outliner/space_outliner.c =================================================================== --- source/blender/editors/space_outliner/space_outliner.c (revision 25306) +++ source/blender/editors/space_outliner/space_outliner.c (working copy) @@ -133,6 +133,13 @@ case ND_TRANSFORM: ED_region_tag_redraw(ar); break; + case ND_MODIFIER: + switch(wmn->action) { + case NA_RENAME: + ED_region_tag_redraw(ar); + break; + } + break; } case NC_GROUP: /* all actions now, todo: check outliner view mode? */ Index: source/blender/makesrna/intern/rna_modifier.c =================================================================== --- source/blender/makesrna/intern/rna_modifier.c (revision 25306) +++ source/blender/makesrna/intern/rna_modifier.c (working copy) @@ -1954,6 +1954,7 @@ prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE); RNA_def_property_string_funcs(prop, NULL, NULL, "rna_Modifier_name_set"); RNA_def_property_ui_text(prop, "Name", "Modifier name."); + RNA_def_property_update(prop, NC_OBJECT|ND_MODIFIER|NA_RENAME, NULL); RNA_def_struct_name_property(srna, prop); /* enums */ Index: source/blender/makesrna/intern/rna_particle.c =================================================================== --- source/blender/makesrna/intern/rna_particle.c (revision 25306) +++ source/blender/makesrna/intern/rna_particle.c (working copy) @@ -1904,6 +1904,7 @@ prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE); RNA_def_property_ui_text(prop, "Name", "Particle system name."); + RNA_def_property_update(prop, NC_OBJECT|ND_MODIFIER|NA_RENAME, NULL); RNA_def_struct_name_property(srna, prop); /* access to particle settings is redirected through functions */ Index: source/blender/windowmanager/WM_types.h =================================================================== --- source/blender/windowmanager/WM_types.h (revision 25306) +++ source/blender/windowmanager/WM_types.h (working copy) @@ -245,17 +245,17 @@ #define NOTE_SUBTYPE 0x0000FF00 /* subtype scene mode */ -#define NS_MODE_OBJECT (1<<8) +#define NS_MODE_OBJECT (1<<8) -#define NS_EDITMODE_MESH (2<<8) -#define NS_EDITMODE_CURVE (3<<8) -#define NS_EDITMODE_SURFACE (4<<8) -#define NS_EDITMODE_TEXT (5<<8) -#define NS_EDITMODE_MBALL (6<<8) -#define NS_EDITMODE_LATTICE (7<<8) +#define NS_EDITMODE_MESH (2<<8) +#define NS_EDITMODE_CURVE (3<<8) +#define NS_EDITMODE_SURFACE (4<<8) +#define NS_EDITMODE_TEXT (5<<8) +#define NS_EDITMODE_MBALL (6<<8) +#define NS_EDITMODE_LATTICE (7<<8) #define NS_EDITMODE_ARMATURE (8<<8) -#define NS_MODE_POSE (9<<8) -#define NS_MODE_PARTICLE (10<<8) +#define NS_MODE_POSE (9<<8) +#define NS_MODE_PARTICLE (10<<8) /* action classification */ @@ -264,8 +264,8 @@ #define NA_EVALUATED 2 #define NA_ADDED 3 #define NA_REMOVED 4 +#define NA_RENAME 5 - /* ************** Gesture Manager data ************** */ /* wmGesture->type */