Do not crash when a node is not present in the dummies graph

Authored by stefanobonicatti.

Description

Do not crash when a node is not present in the dummies graph

Instead of QASSERT we should use KIS_ASSERT_RECOVER and return 0
if the node is not present.
This way we are informed of the issue but the program can still continue.

Patch by Dmitry Kazakov.

Details

Committed
stefanobonicattiJul 3 2015, 3:19 PM
Parents
R8:f9244de29adb: BUG:349792 Fix deleting a color in the palette docker
Branches
Unknown
Tags
Unknown