comparison Framework/Widgets/WorldSceneWidget.cpp @ 278:8a86695fcbc3 am-2

renamings
author am@osimis.io
date Mon, 27 Aug 2018 14:58:37 +0200
parents fccffbf99ba1
children 300d8b8c48b3
comparison
equal deleted inserted replaced
277:a38465cc909f 278:8a86695fcbc3
270 void WorldSceneWidget::SetDefaultView() 270 void WorldSceneWidget::SetDefaultView()
271 { 271 {
272 SetSceneExtent(view_); 272 SetSceneExtent(view_);
273 view_.SetDefaultView(); 273 view_.SetDefaultView();
274 274
275 NotifyChange(); 275 NotifyContentChanged();
276 276
277 observers_.Apply(*this, &IWorldObserver::NotifyViewChange, view_); 277 observers_.Apply(*this, &IWorldObserver::NotifyViewChange, view_);
278 } 278 }
279 279
280 280
281 void WorldSceneWidget::SetView(const ViewportGeometry& view) 281 void WorldSceneWidget::SetView(const ViewportGeometry& view)
282 { 282 {
283 view_ = view; 283 view_ = view;
284 284
285 NotifyChange(); 285 NotifyContentChanged();
286 286
287 observers_.Apply(*this, &IWorldObserver::NotifyViewChange, view_); 287 observers_.Apply(*this, &IWorldObserver::NotifyViewChange, view_);
288 } 288 }
289 289
290 290