Commit 373b2a55 authored by Ken Martin's avatar Ken Martin Committed by David E. DeMarle

fixed case where the array name differed from

the variable name. Shoudl fix dsashboard issues.

(cherry picked from commit 7279cebc)
parent 98a23692
......@@ -433,7 +433,7 @@ int vtkArrayCalculator::RequestData(
for (int cc=0; cc < this->NumberOfScalarArrays; cc++)
{
int idx = this->FunctionParser->GetScalarVariableIndex(
this->ScalarArrayNames[cc]);
this->ScalarVariableNames[cc]);
if (idx >= 0)
{
if (this->FunctionParser->GetScalarVariableNeeded(idx))
......@@ -447,7 +447,7 @@ int vtkArrayCalculator::RequestData(
for (int cc=0; cc < this->NumberOfVectorArrays; cc++)
{
int idx = this->FunctionParser->GetVectorVariableIndex(
this->VectorArrayNames[cc]);
this->VectorVariableNames[cc]);
if (idx >= 0)
{
if (this->FunctionParser->GetVectorVariableNeeded(idx))
......
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