summaryrefslogtreecommitdiffstats
path: root/src/sp-pattern.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-09-14 00:58:45 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-09-14 00:58:45 +0000
commit3e4d7124a9ff4b05723d938831f149fc313e1fc0 (patch)
tree3a7c87aa0b0bb7cd517046945cc9554b532f3866 /src/sp-pattern.cpp
parenttwo safe changes: 1) increase the arbitrary limit on the number of update ite... (diff)
downloadinkscape-3e4d7124a9ff4b05723d938831f149fc313e1fc0.tar.gz
inkscape-3e4d7124a9ff4b05723d938831f149fc313e1fc0.zip
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)
Diffstat (limited to '')
-rw-r--r--src/sp-pattern.cpp1
1 files changed, 1 insertions, 0 deletions
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