Skip to content

Commit

Permalink
Correct error in resolveElement
Browse files Browse the repository at this point in the history
  • Loading branch information
bgbsww authored and chennes committed Sep 21, 2024
1 parent 84b0109 commit 8fdef15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/GeoFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ DocumentObject *GeoFeature::resolveElement(DocumentObject *obj, const char *subn
}
if(geoFeature)
*geoFeature = geo;
if(!obj || (filter && obj!=filter))
if(!obj || (filter && geo!=filter))
return nullptr;
if(!element || !element[0]) {
if(append)
Expand Down

0 comments on commit 8fdef15

Please sign in to comment.