changeset 83:c75377306598 wasm

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 May 2017 23:25:36 +0200
parents cee8f308a4bc
children bd48431ac285
files Framework/Widgets/LayerWidget.cpp
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Widgets/LayerWidget.cpp	Wed May 24 23:05:10 2017 +0200
+++ b/Framework/Widgets/LayerWidget.cpp	Wed May 24 23:25:36 2017 +0200
@@ -381,10 +381,11 @@
   {
     size_t i;
     if (LookupLayer(i, source))
+    {
       LOG(INFO) << "Geometry ready for layer " << i;
-
-    SetDefaultView();
-    layers_[i]->ScheduleLayerCreation(slice_);
+      SetDefaultView();
+      layers_[i]->ScheduleLayerCreation(slice_);
+    }
   }