From: buliabyak Date: Mon, 14 Sep 2009 00:58:45 +0000 (+0000) Subject: add comment (copied from sp-gradient) explaining why this must set a flag, to be... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a3ea6afbbd551cd444a77ab93b342dfc25f6639e;p=inkscape.git 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 --- 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