Commit b2de7e2c authored by Philippe Verney's avatar Philippe Verney
Browse files

Bug fix : Polyhedra of RESQML unstructured grids do not display with PV 5.8

parent 746d0f4c
......@@ -20,7 +20,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}"
set(BUILD_SHARED_LIBS ON)
# Find ParaView. This will bring in ParaView's CMake API and imported targets.
find_package(ParaView REQUIRED)
find_package(ParaView REQUIRED pqCore)
# Scan the plugin file in order to set up internal data structures for building plugins
set("_paraview_plugin_default_${CMAKE_PROJECT_NAME}" ON)
......
......@@ -39,7 +39,6 @@ under the License.
#include <fesapi/resqml2/SubRepresentation.h>
#include <fesapi/resqml2/AbstractIjkGridRepresentation.h>
#include <fesapi/resqml2/UnstructuredGridRepresentation.h>
#include <fesapi/resqml2/SubRepresentation.h>
#include <fesapi/resqml2/WellboreMarker.h>
#include <fesapi/resqml2/WellboreMarkerFrameRepresentation.h>
#include <fesapi/resqml2/WellboreTrajectoryRepresentation.h>
......
......@@ -332,7 +332,7 @@ void vtkEPCReader::RequestDataEpcDocument(vtkInformationVector *outputVector)
{
try
{
output->DeepCopy(epcDocumentSet->getVisualization());
output->ShallowCopy(epcDocumentSet->getVisualization());
}
catch (const std::exception &e)
{
......@@ -349,7 +349,7 @@ void vtkEPCReader::RequestDataEtpDocument(vtkInformationVector *outputVector)
vtkMultiBlockDataSet *output = vtkMultiBlockDataSet::SafeDownCast(outInfo->Get(vtkMultiBlockDataSet::DATA_OBJECT()));
if (loadedFile)
{
output->DeepCopy(etpDocument->getVisualization());
output->ShallowCopy(etpDocument->getVisualization());
}
}
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment