From 9e8c740ef3a2efdc0563002081bf24daff966146 Mon Sep 17 00:00:00 2001 From: acpaquette Date: Fri, 15 Nov 2024 12:49:19 -0700 Subject: [PATCH] Reset m_radii size if we didn't find it in the label --- isis/src/base/objs/Target/Target.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/isis/src/base/objs/Target/Target.cpp b/isis/src/base/objs/Target/Target.cpp index 18c24bd6d0..4401099788 100644 --- a/isis/src/base/objs/Target/Target.cpp +++ b/isis/src/base/objs/Target/Target.cpp @@ -155,6 +155,9 @@ namespace Isis { setRadii(radii); } + else { + m_radii.resize(0); + } m_shape = ShapeModelFactory::create(this, label); }