Commit 3ea31104 authored by Brad King's avatar Brad King
Browse files

BUG: Fixed vtkPVDReaderModule to work with server manager properties and...

BUG: Fixed vtkPVDReaderModule to work with server manager properties and domains for the ParaView 1.6 release branch.  The main tree has a different fix for this problem because the properties and domains work a bit differently since 1.6 was branched.
parent 67d89515
......@@ -23,7 +23,7 @@
//----------------------------------------------------------------------------
vtkStandardNewMacro(vtkPVDReaderModule);
vtkCxxRevisionMacro(vtkPVDReaderModule, "1.10.2.1");
vtkCxxRevisionMacro(vtkPVDReaderModule, "1.10.2.2");
//----------------------------------------------------------------------------
vtkPVDReaderModule::vtkPVDReaderModule()
......@@ -113,6 +113,7 @@ int vtkPVDReaderModule::ReadFileInformation(const char* fname)
this->TimeScale->SetParent(this->GetParameterFrame()->GetFrame());
this->TimeScale->SetModifiedCommand(this->GetTclName(),
"SetAcceptButtonColorToModified");
this->TimeScale->SetSMPropertyName("TimestepAsIndex");
this->TimeScale->SetVariableName("TimestepAsIndex");
this->TimeScale->SetDisplayEntryAndLabelOnTop(0);
this->TimeScale->SetDisplayValueFlag(0);
......
......@@ -13,7 +13,9 @@
name="TimestepAsIndex"
command="SetTimestepAsIndex"
number_of_elements="1"
default_values="0"/>
default_values="0">
<IntRangeDomain name="range"/>
</IntVectorProperty>
<!-- End PVDReader -->
</SourceProxy>
......
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