Commit 8da0b05a authored by Ken Martin's avatar Ken Martin
Browse files

BUG: here is the fix to the execute failure in TestSetGet

parent 8b5ebe38
......@@ -29,7 +29,7 @@
#include <vtkstd/vector>
vtkCxxRevisionMacro(vtkExecutive, "1.21");
vtkCxxRevisionMacro(vtkExecutive, "1.22");
vtkInformationKeyMacro(vtkExecutive, ALGORITHM_AFTER_FORWARD, Integer);
vtkInformationKeyMacro(vtkExecutive, ALGORITHM_BEFORE_FORWARD, Integer);
vtkInformationKeyMacro(vtkExecutive, ALGORITHM_DIRECTION, Integer);
......@@ -223,6 +223,10 @@ vtkInformationVector* vtkExecutive::GetInputInformation(int port)
vtkInformationVector* vtkExecutive::GetOutputInformation()
if (!this->Algorithm)
return 0;
// Set the length of the vector to match the number of ports.
int oldNumberOfPorts =
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