From 8c4695b9916ab01120fb4385c426a37ffff348d0 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 15 Dec 2016 17:35:36 +0000 Subject: [PATCH] Fix duplicate variants in packages. --- simgear/package/Package.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/simgear/package/Package.cxx b/simgear/package/Package.cxx index b2b83965..df86945d 100644 --- a/simgear/package/Package.cxx +++ b/simgear/package/Package.cxx @@ -58,6 +58,7 @@ void Package::initWithProps(const SGPropertyNode* aProps) void Package::updateFromProps(const SGPropertyNode* aProps) { m_tags.clear(); + m_variants.clear(); initWithProps(aProps); }