summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-09-26 11:26:47 +0000
committertavmjong-free <tavmjong@free.fr>2016-09-26 11:26:47 +0000
commitf273f14eb1b54861f1b3a7eb622cb481ee33cec9 (patch)
tree9603482485c7ff556213ea2f1f1b18aed5819896 /src/sp-item.cpp
parentAdd tracing code. (diff)
downloadinkscape-f273f14eb1b54861f1b3a7eb622cb481ee33cec9.tar.gz
inkscape-f273f14eb1b54861f1b3a7eb622cb481ee33cec9.zip
Fix undo/redo for mesh gradients.
(bzr r15135)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index e03b715c0..d161562fd 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -59,6 +59,7 @@
#define noSP_ITEM_DEBUG_IDLE
+//#define OBJECT_TRACE
static SPItemView* sp_item_view_list_remove(SPItemView *list,
SPItemView *view);
@@ -691,6 +692,10 @@ void SPItem::update(SPCtx* ctx, guint flags) {
void SPItem::modified(unsigned int /*flags*/)
{
+#ifdef OBJECT_TRACE
+ objectTrace( "SPItem::modified" );
+ objectTrace( "SPItem::modified", false );
+#endif
}
Inkscape::XML::Node* SPItem::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {