Mercurial > hg > orthanc-stone
changeset 272:d7d91d96b9d8 am-2
fix
author | am@osimis.io |
---|---|
date | Fri, 24 Aug 2018 09:11:06 +0200 |
parents | 46c5296d867e |
children | f21ba2468570 |
files | Framework/Widgets/LayerWidget.cpp Platforms/Wasm/Defaults.cpp |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Widgets/LayerWidget.cpp Thu Aug 23 17:12:54 2018 +0200 +++ b/Framework/Widgets/LayerWidget.cpp Fri Aug 24 09:11:06 2018 +0200 @@ -524,7 +524,7 @@ size_t i; if (LookupLayer(i, source)) { - LOG(INFO) << name_ << ": Geometry ready for layer " << i; + LOG(INFO) << ": Geometry ready for layer " << i << " in " << name_; changedLayers_[i] = true; //layers_[i]->ScheduleLayerCreation(slice_);
--- a/Platforms/Wasm/Defaults.cpp Thu Aug 23 17:12:54 2018 +0200 +++ b/Platforms/Wasm/Defaults.cpp Fri Aug 24 09:11:06 2018 +0200 @@ -87,7 +87,8 @@ application->DeclareStartupOptions(options); startupParametersBuilder.GetStartupParameters(parameters, options); - context.reset(new OrthancStone::BasicApplicationContext(OrthancStone::WasmWebService::GetInstance())); + context.reset(new OrthancStone::BasicApplicationContext()); + context->SetWebService(OrthancStone::WasmWebService::GetInstance()); application->Initialize(context.get(), statusBar_, parameters); application->InitializeWasm();