odlylayerfilter:

arent() does not work
odlylayerfilter:

arent() does not work
assertion below fails. proot is of type (const odlylayerfilter*)
code:
for ( unsigned int i = 0; i < proot->getnestedfilters().length(); i++ )
assert((const odlylayerfilter*)proot->getnestedfilters()[i]->parent() == proot);
regards,
michal sliwka
attached files
this is a bug in dd - 'parent' property is not set while adding filters now.
you can easily implement this behaviour yourself if needed,
overriding addnested and getparent
besides, in current release, expression parsing is not implemented,
so if you need 'filter' function,
you should write you descendant anyway.