From 3e4d7124a9ff4b05723d938831f149fc313e1fc0 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Mon, 14 Sep 2009 00:58:45 +0000 Subject: add comment (copied from sp-gradient) explaining why this must set a flag, to be cleared in the next update, instead of calling modified method directly (bzr r8585) --- src/sp-pattern.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/sp-pattern.cpp b/src/sp-pattern.cpp index 90af65b97..ec0d0d576 100644 --- a/src/sp-pattern.cpp +++ b/src/sp-pattern.cpp @@ -432,6 +432,7 @@ pattern_ref_modified (SPObject */*ref*/, guint /*flags*/, SPPattern *pattern) { if (SP_IS_OBJECT (pattern)) SP_OBJECT (pattern)->requestModified(SP_OBJECT_MODIFIED_FLAG); + /* Conditional to avoid causing infinite loop if there's a cycle in the href chain. */ } guint -- cgit v1.2.3