From 85abc44b56c27f6d63103c792822f7b53ddacaaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Lemaire?= Date: Tue, 7 Feb 2012 12:43:31 +0000 Subject: [PATCH] paysages : Small bug fixes. git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@260 b1fd45b6-86a6-48da-8261-f70d1f35bdcc --- TODO | 2 -- gui_qt/mainwindow.cpp | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 0af89ef..efddbf5 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,3 @@ -- Camera looses its orientation when changing render quality. -- Choosing New in Scene menu makes the daytime at 0.0. - All noises should use the same entropy pool (saved separately), and avoid reallocs. - Implement light multi-sampling (mainly for skydome). - Implement scaling and scrolling on previews. diff --git a/gui_qt/mainwindow.cpp b/gui_qt/mainwindow.cpp index 24fe4ab..b586e66 100644 --- a/gui_qt/mainwindow.cpp +++ b/gui_qt/mainwindow.cpp @@ -104,6 +104,7 @@ void MainWindow::refreshAll() void MainWindow::fileNew() { autoGenRealisticLandscape(0); + autoSetDaytime(8, 30); refreshAll(); } @@ -146,4 +147,6 @@ void MainWindow::explore3D() scenerySetCamera(&camera); delete dialog; + + refreshAll(); }