Skip to content
Snippets Groups Projects
Commit 373b2a55 authored by Ken Martin's avatar Ken Martin Committed by David E. DeMarle
Browse files

fixed case where the array name differed from

the variable name. Shoudl fix dsashboard issues.

(cherry picked from commit 7279cebc)
parent 98a23692
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment