Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp @ 1795:39673d351ef2
fix build
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 18 May 2021 09:57:14 +0200 |
parents | 28755e42c007 |
children | 79a5838739a6 |
comparison
equal
deleted
inserted
replaced
1794:fe5c7311a7fd | 1795:39673d351ef2 |
---|---|
1749 annotations_->LookupSopInstanceUid(a, instance.GetSopInstanceUid()); | 1749 annotations_->LookupSopInstanceUid(a, instance.GetSopInstanceUid()); |
1750 if (plane.IsValid() && | 1750 if (plane.IsValid() && |
1751 !a.empty()) | 1751 !a.empty()) |
1752 { | 1752 { |
1753 annotationsLayer.reset(new OrthancStone::MacroSceneLayer); | 1753 annotationsLayer.reset(new OrthancStone::MacroSceneLayer); |
1754 annotationsLayer->Reserve(a.size()); | 1754 // annotationsLayer->Reserve(a.size()); |
1755 | 1755 |
1756 OrthancStone::OsiriXLayerFactory factory; | 1756 OrthancStone::OsiriXLayerFactory factory; |
1757 factory.SetColor(0, 255, 0); | 1757 factory.SetColor(0, 255, 0); |
1758 | 1758 |
1759 for (std::set<size_t>::const_iterator it = a.begin(); it != a.end(); ++it) | 1759 for (std::set<size_t>::const_iterator it = a.begin(); it != a.end(); ++it) |