Commit 0207d3f2 authored by Henry Weller's avatar Henry Weller
Browse files

PVblockMeshReader: Removed unnecessary 'UpdateGUI' button

The 'Refresh' button updates the blockMesh and the GUI.
parent 28ad02cf
...@@ -30,19 +30,6 @@ ...@@ -30,19 +30,6 @@
</Documentation> </Documentation>
</IntVectorProperty> </IntVectorProperty>
<!-- Update GUI check box -->
<IntVectorProperty
name="UpdateGUI"
command="SetUpdateGUI"
number_of_elements="1"
default_values="0"
animateable="0">
<BooleanDomain name="bool"/>
<Documentation>
A simple way to cause a reader GUI modification.
</Documentation>
</IntVectorProperty>
<!-- Refresh button --> <!-- Refresh button -->
<IntVectorProperty <IntVectorProperty
name="UiRefresh" name="UiRefresh"
...@@ -116,6 +103,7 @@ ...@@ -116,6 +103,7 @@
<Hints> <Hints>
<Property name="FileName" show="0"/> <Property name="FileName" show="0"/>
<Property name="UiRefresh" show="0"/>
<Property name="UiShowPointNumbers" show="0"/> <Property name="UiShowPointNumbers" show="0"/>
<ReaderFactory extensions="blockMesh" <ReaderFactory extensions="blockMesh"
file_description="OpenFOAM blockMesh"/> file_description="OpenFOAM blockMesh"/>
......
...@@ -60,7 +60,6 @@ vtkPVblockMeshReader::vtkPVblockMeshReader() ...@@ -60,7 +60,6 @@ vtkPVblockMeshReader::vtkPVblockMeshReader()
foamData_ = nullptr; foamData_ = nullptr;
ShowPointNumbers = 1; ShowPointNumbers = 1;
UpdateGUI = 0;
BlockSelection = vtkDataArraySelection::New(); BlockSelection = vtkDataArraySelection::New();
CurvedEdgesSelection = vtkDataArraySelection::New(); CurvedEdgesSelection = vtkDataArraySelection::New();
......
...@@ -76,11 +76,6 @@ public: ...@@ -76,11 +76,6 @@ public:
virtual void SetShowPointNumbers(int); virtual void SetShowPointNumbers(int);
vtkGetMacro(ShowPointNumbers, int); vtkGetMacro(ShowPointNumbers, int);
// Description:
// GUI update control
vtkSetMacro(UpdateGUI, int);
vtkGetMacro(UpdateGUI, int);
// Description: // Description:
// Refresh blockMesh from changes to blockMeshDict // Refresh blockMesh from changes to blockMeshDict
virtual void SetRefresh(int); virtual void SetRefresh(int);
...@@ -161,9 +156,6 @@ private: ...@@ -161,9 +156,6 @@ private:
//- Show Point Numbers //- Show Point Numbers
int ShowPointNumbers; int ShowPointNumbers;
//- Dummy variable/switch to invoke a reader update
int UpdateGUI;
vtkDataArraySelection* BlockSelection; vtkDataArraySelection* BlockSelection;
vtkDataArraySelection* CurvedEdgesSelection; vtkDataArraySelection* CurvedEdgesSelection;
......
Markdown is supported
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