summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b0d55df)
raw | patch | inline | side by side (parent: b0d55df)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 2 Jun 2008 20:01:04 +0000 (20:01 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 2 Jun 2008 20:01:04 +0000 (20:01 +0000) |
src/sp-lpe-item.cpp | patch | blob | history |
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index bf9828b15d4433752ef35d4bfeefb774ab745ca3..dce9429348dad46d2e03623e9815f016a1ff8f6f 100644 (file)
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
for (PathEffectList::iterator it = lpeitem->path_effect_list->begin(); it != lpeitem->path_effect_list->end(); ++it)
{
LivePathEffectObject *lpeobj = (*it)->lpeobject;
+ if (!lpeobj) {
+ g_warning("sp_lpe_item_perform_path_effect - NULL lpeobj in list!");
+ return;
+ }
+ if (!lpeobj->lpe) {
+ g_warning("sp_lpe_item_perform_path_effect - lpeobj without lpe!");
+ return;
+ }
if (lpeobj->lpe->isVisible()) {
// Groups have their doBeforeEffect called elsewhere