Mercurial > hg > orthanc-stone
diff Framework/Viewport/ViewportBase.cpp @ 1055:af456106576c
moving GetCanvasIdentifier from IViewport to WebAssemblyViewport
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 10 Oct 2019 16:07:58 +0200 |
parents | 32b403a47b19 |
children | 6dd90b8d1589 |
line wrap: on
line diff
--- a/Framework/Viewport/ViewportBase.cpp Thu Oct 10 15:55:54 2019 +0200 +++ b/Framework/Viewport/ViewportBase.cpp Thu Oct 10 16:07:58 2019 +0200 @@ -26,16 +26,13 @@ namespace OrthancStone { - ViewportBase::ViewportBase(const std::string& identifier) : - identifier_(identifier), + ViewportBase::ViewportBase() : scene_(boost::make_shared<Scene2D>()) { } - ViewportBase::ViewportBase(const std::string& identifier, - boost::shared_ptr<Scene2D>& scene) : - identifier_(identifier), + ViewportBase::ViewportBase(boost::shared_ptr<Scene2D>& scene) : scene_(scene) { if (scene.get() == NULL)