Temporary fix for preview renders stopping when window loses focus

This commit is contained in:
Michaël Lemaire 2013-10-06 15:45:53 +02:00
parent 29d258574a
commit f39c4b3f6c
2 changed files with 2 additions and 2 deletions

2
TODO
View file

@ -1,5 +1,4 @@
Technology Preview 2 :
- Investigate the preview render threads dying.
- Add initial terrain offset so that the (0,0) coordinates are above water.
- Finalize lighting/clouds refactoring
=> Restore cloud lighting
@ -17,6 +16,7 @@ Technlogy Preview 3 :
- FOCUS : Streamlining, with undo system
- FOCUS : Vegetation
- FOCUS : Night sky
- Implement copy-on-write on definitions (to avoid copying whole heightmaps for instance).
- Alter aerial perspective using estimation of the amount of light left after cloud layers traversal.
- Add a map preview to terrain editor.
- Better time selection widget for atmosphere.

View file

@ -42,7 +42,7 @@ public:
inline bool isOnFront()
{
return _preview->isVisible() && _preview->window()->isActiveWindow();
return _preview->isVisible();// && _preview->window()->isActiveWindow();
}
bool isFrom(BasePreview* preview)