From a3ea6afbbd551cd444a77ab93b342dfc25f6639e Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 14 Sep 2009 00:58:45 +0000 Subject: [PATCH] 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 --- src/sp-pattern.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2