- if(!aPipeAlgo->isDone()) {
- setError("Error: Pipe algorithm failed.");
- aResultIndex = 0;
- break;
- }
-
- // Check if shape is valid
- if(!aPipeAlgo->shape().get() || aPipeAlgo->shape()->isNull()) {
- setError("Error: Resulting shape is Null.");
- aResultIndex = 0;
- break;
- }
- if(!aPipeAlgo->isValid()) {
- setError("Error: Resulting shape is not valid.");