Bugfix: Make the PV4FoamReader work properly with ParaView 4.3.1. This applies two fixes:
1- The patch provided in report #290 by Pascal Beckstein: https://sourceforge.net/p/openfoam-extend/ticketsfoamextendrelease/290/ 2- Removed the GUI plugin entry, as per intructions on the wiki page mentioned in the bug report.
This commit is contained in:
parent
4f1adadf23
commit
f8bbe03a12
4 changed files with 13 additions and 16 deletions
|
@ -45,11 +45,11 @@ ADD_PARAVIEW_PLUGIN(
|
|||
)
|
||||
|
||||
# Build the client-side plugin
|
||||
ADD_PARAVIEW_PLUGIN(
|
||||
PV4FoamReader
|
||||
"1.0"
|
||||
GUI_RESOURCES PV4FoamReader.qrc
|
||||
)
|
||||
#ADD_PARAVIEW_PLUGIN(
|
||||
# PV4FoamReader
|
||||
# "1.0"
|
||||
# GUI_RESOURCES PV4FoamReader.qrc
|
||||
#)
|
||||
|
||||
TARGET_LINK_LIBRARIES(
|
||||
PV4FoamReader_SM
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<RCC>
|
||||
<qresource prefix="/ParaViewResources" >
|
||||
<file>PV4FoamReader.xml</file>
|
||||
</qresource>
|
||||
</RCC>
|
|
@ -1,6 +0,0 @@
|
|||
<ParaViewReaders>
|
||||
<Reader name="PV4FoamReader"
|
||||
extensions="OpenFOAM"
|
||||
file_description="OpenFOAM Reader">
|
||||
</Reader>
|
||||
</ParaViewReaders>
|
|
@ -4,6 +4,14 @@
|
|||
name="PV4FoamReader"
|
||||
class="vtkPV4FoamReader">
|
||||
|
||||
<!-- File extension section for paraview 4.3+ -->
|
||||
|
||||
<Hints>
|
||||
<ReaderFactory
|
||||
extensions="OpenFOAM"
|
||||
file_description="OpenFOAM Reader" />
|
||||
</Hints>
|
||||
|
||||
<!-- File name - compulsory -->
|
||||
<StringVectorProperty
|
||||
name="FileName"
|
||||
|
|
Reference in a new issue