X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_ResultField.cpp;fp=src%2FModel%2FModel_ResultField.cpp;h=0c295fd43b264cfb1e5ef17bc6cf95e05d6e1d13;hb=185923a92c76805bc1b410b0f655e214394a8573;hp=f10fe16af5149947712cb3342fee565672f09768;hpb=7b3c4a3a5474d302a55082bb7f896745a0d9e8bf;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultField.cpp b/src/Model/Model_ResultField.cpp index f10fe16af..0c295fd43 100644 --- a/src/Model/Model_ResultField.cpp +++ b/src/Model/Model_ResultField.cpp @@ -45,7 +45,7 @@ std::shared_ptr Model_ResultField::shape() for(int a = 0; a < aResults; a++) { ResultBodyPtr aBody = std::dynamic_pointer_cast( document()->object(ModelAPI_ResultBody::group(), a)); - if (!aBody.get()) + if (!aBody.get()) continue; // check that only results that were created before this field are used FeaturePtr aResultFeature = document()->feature(aBody);