Skip to content

Commit

Permalink
BugFix cannot show triangulated set representation
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricRobert authored Mar 4, 2020
1 parent f565190 commit 8a08e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VTK/VtkTriangulatedRepresentation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void VtkTriangulatedRepresentation::createOutput(const std::string &uuid)
if (!subRepresentation) {
RESQML2_0_1_NS::TriangulatedSetRepresentation* triangulatedSetRepresentation = epcPackageRepresentation->getDataObjectByUuid<RESQML2_0_1_NS::TriangulatedSetRepresentation>(getUuid());

if (vtkOutput != nullptr && triangulatedSetRepresentation != nullptr) {
if (vtkOutput == nullptr && triangulatedSetRepresentation != nullptr) {
vtkOutput = vtkSmartPointer<vtkPolyData>::New();

// POINT
Expand Down

0 comments on commit 8a08e52

Please sign in to comment.