diff framework/SVFileReader.cpp @ 691:c8ba09756eff by-id

Work on management of alignment-related models
author Chris Cannam
date Fri, 12 Jul 2019 13:58:02 +0100
parents e0b0f3e163ca
children 3c5dc95bea91
line wrap: on
line diff
--- a/framework/SVFileReader.cpp	Fri Jul 12 09:40:56 2019 +0100
+++ b/framework/SVFileReader.cpp	Fri Jul 12 13:58:02 2019 +0100
@@ -484,7 +484,7 @@
         // the .sv file.  (pity we don't have a nicer way to handle
         // this)
         if (!ModelById::isa<AlignmentModel>(modelId)) {
-            m_document->addImportedModel(modelId);
+            m_document->addNonDerivedModel(modelId);
         }
         
         // but we add all models including alignment ones to the added