Commit b7404ef1 authored by Tim Thirion's avatar Tim Thirion

Fix incorrect string compare in vtkValuePass

parent a12bc8c8
......@@ -88,7 +88,7 @@ void vtkValuePass::SetInputArrayToProcess(int fieldAssociation,
{
if (!this->Internals->FieldNameSet ||
this->Internals->FieldAssociation != fieldAssociation ||
this->Internals->FieldName != name)
this->Internals->FieldName.compare(name) != 0)
{
this->Internals->FieldAssociation = fieldAssociation;
this->Internals->FieldName = name;
......
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