Skip to content

Commit

Permalink
Reset m_radii size if we didn't find it in the label
Browse files Browse the repository at this point in the history
  • Loading branch information
acpaquette committed Nov 15, 2024
1 parent fd53520 commit 9e8c740
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions isis/src/base/objs/Target/Target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ namespace Isis {

setRadii(radii);
}
else {
m_radii.resize(0);
}

m_shape = ShapeModelFactory::create(this, label);
}
Expand Down

0 comments on commit 9e8c740

Please sign in to comment.