From 1e337a07a73b27eda4391a25676724da6fbd65fa Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Sat, 24 Jul 2021 21:40:49 -0500 Subject: [PATCH] Updated comment. - Lets see if the checks pass... --- DDCore/src/plugins/Compact2Objects.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DDCore/src/plugins/Compact2Objects.cpp b/DDCore/src/plugins/Compact2Objects.cpp index 0b5e15672..f4f139214 100644 --- a/DDCore/src/plugins/Compact2Objects.cpp +++ b/DDCore/src/plugins/Compact2Objects.cpp @@ -831,8 +831,8 @@ template <> void Converter<VisAttr>::operator()(xml_h e) const { if(!refAttr.isValid() ) { throw runtime_error("reference VisAttr " + refName + " does not exist"); } - // Not sure if there is an easy deep copy constructor - // Just copying things manually + // Just copying things manually. + // I think a handle's copy constructor/assignment would reuse the underlying pointer... maybe? refAttr.argb(alpha,red,green,blue); attr.setColor(alpha,red,green,blue); attr.setDrawingStyle( refAttr.drawingStyle()); -- GitLab