Commit: d7fa0fcaae139f0e24e9682d3ae4be0f242250ac
Author: Antony Riakiotakis
Date: Mon Nov 17 18:48:37 2014 +0100
Branches: wiggly-widgets
https://developer.blender.org/rBd7fa0fcaae139f0e24e9682d3ae4be0f242250ac
More info for widget undo push string
===================================================================
M source/blender/windowmanager/intern/wm_widgets.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_widgets.c
b/source/blender/windowmanager/intern/wm_widgets.c
index 2443d19..daeef99 100644
--- a/source/blender/windowmanager/intern/wm_widgets.c
+++ b/source/blender/windowmanager/intern/wm_widgets.c
@@ -652,7 +652,9 @@ void wm_widgetmap_set_active_widget(struct wmWidgetMap
*wmap, struct bContext *C
widget->ptr = NULL;
}
else if (widget->prop) {
- ED_undo_push(C, "widget_undo");
+ char undo_str[256];
+ BLI_snprintf(undo_str, 256, "widget_undo: %s",
RNA_property_ui_name(widget->prop));
+ ED_undo_push(C, undo_str);
}
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs