Skip to content

Commit

Permalink
fix: bpls did not call SetSelection for values (GlobalValue over time…
Browse files Browse the repository at this point in the history
…, LocalValue, which both show us an array in bpls).
  • Loading branch information
pnorbert committed Jul 27, 2021
1 parent 552fd0e commit bc7b586
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions source/utils/bpls/bpls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2074,12 +2074,9 @@ int readVar(core::Engine *fp, core::IO *io, core::Variable<T> *variable)
printf("\n");
}

if (!variable->m_SingleValue)
if (variable->m_ShapeID == ShapeID::GlobalArray)
{
if (variable->m_ShapeID == ShapeID::GlobalArray)
{
variable->SetSelection({startv, countv});
}
variable->SetSelection({startv, countv});
}

if (tidx)
Expand Down

0 comments on commit bc7b586

Please sign in to comment.