* Fix tooltip for reset default values
* Redraw 3D View tool shelf on texture changes (to reflect new brush textures)
This commit is contained in:
@@ -140,7 +140,7 @@ void UI_OT_reset_default_button(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Reset to Default Value";
|
||||
ot->idname= "UI_OT_reset_default_button";
|
||||
ot->description= "Copy the RNA data path for this property to the clipboard.";
|
||||
ot->description= "Reset this property's value to its default value";
|
||||
|
||||
/* callbacks */
|
||||
ot->poll= reset_default_button_poll;
|
||||
|
||||
@@ -636,6 +636,10 @@ static void view3d_buttons_area_listener(ARegion *ar, wmNotifier *wmn)
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case NC_TEXTURE:
|
||||
/* for brush textures */
|
||||
ED_region_tag_redraw(ar);
|
||||
break;
|
||||
case NC_BRUSH:
|
||||
if(wmn->action==NA_EDITED)
|
||||
ED_region_tag_redraw(ar);
|
||||
|
||||
Reference in New Issue
Block a user