summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-item.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-08-16 01:40:10 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2011-08-16 01:40:10 +0000
commit66bab1f2b80ff441643fd5fdeb5bade70fb5aa8c (patch)
tree60877c840f6ea4a15a6dea4bb3fcaead3ae7b353 /src/display/drawing-item.h
parentCorrectly invalidate cache of objects with background-accessing filters (diff)
downloadinkscape-66bab1f2b80ff441643fd5fdeb5bade70fb5aa8c.tar.gz
inkscape-66bab1f2b80ff441643fd5fdeb5bade70fb5aa8c.zip
Add sanity checks against singular transforms in the drawing tree.
Fixes LP #825767. Fixed bugs: - https://launchpad.net/bugs/825767 (bzr r10347.1.33)
Diffstat (limited to 'src/display/drawing-item.h')
-rw-r--r--src/display/drawing-item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/drawing-item.h b/src/display/drawing-item.h
index 6d142c061..abc69be02 100644
--- a/src/display/drawing-item.h
+++ b/src/display/drawing-item.h
@@ -112,7 +112,7 @@ public:
protected:
enum ChildType {
- CHILD_ORPHAN = 0, // no parent
+ CHILD_ORPHAN = 0, // no parent - implies _parent == NULL
CHILD_NORMAL = 1, // contained in _children of parent
CHILD_CLIP = 2, // referenced by _clip member of parent
CHILD_MASK = 3, // referenced by _mask member of parent