Browse Source

Queue update when View3D scene changed.

Lasse Öörni 12 years ago
parent
commit
c9e2b49f5d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/Engine/UI/View3D.cpp

+ 1 - 0
Source/Engine/UI/View3D.cpp

@@ -89,6 +89,7 @@ void View3D::SetView(Scene* scene, Camera* camera)
     
     
     viewport_->SetScene(scene_);
     viewport_->SetScene(scene_);
     viewport_->SetCamera(camera);
     viewport_->SetCamera(camera);
+    QueueUpdate();
 }
 }
 
 
 void View3D::SetFormat(unsigned format)
 void View3D::SetFormat(unsigned format)