mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Revert "Add Cloud Base Altitude to Weather Display (#1371)"
Reverting until https://github.com/dcs-liberation/dcs_liberation/issues/1394 is resovled. This reverts commit f80696b7244d2eace20111dacdcb149cb4747055.
This commit is contained in:
parent
2ef2eafdd3
commit
b2dd8c68e1
@ -12,9 +12,7 @@ Saves from 4.0.0 are compatible with 4.0.1.
|
|||||||
|
|
||||||
## Features/Improvements
|
## Features/Improvements
|
||||||
* **[Plugins]** Increased time JTAC Autolase messages stay visible on the UI.
|
* **[Plugins]** Increased time JTAC Autolase messages stay visible on the UI.
|
||||||
|
|
||||||
* **[UI]** Added ability to take notes and have those notes appear as a kneeboard page.
|
* **[UI]** Added ability to take notes and have those notes appear as a kneeboard page.
|
||||||
* **[UI]** Hovering over the weather information now dispalys the cloud base (meters and feet).
|
|
||||||
* **[UI]** Google search link added to unit information when there is no information provided.
|
* **[UI]** Google search link added to unit information when there is no information provided.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|||||||
@ -13,7 +13,6 @@ import qt_ui.uiconstants as CONST
|
|||||||
from game import Game
|
from game import Game
|
||||||
from game.event.airwar import AirWarEvent
|
from game.event.airwar import AirWarEvent
|
||||||
from game.profiling import logged_duration
|
from game.profiling import logged_duration
|
||||||
from game.utils import meters
|
|
||||||
from gen.ato import Package
|
from gen.ato import Package
|
||||||
from gen.flights.traveltime import TotEstimator
|
from gen.flights.traveltime import TotEstimator
|
||||||
from qt_ui.models import GameModel
|
from qt_ui.models import GameModel
|
||||||
@ -113,11 +112,6 @@ class QTopPanel(QFrame):
|
|||||||
self.transfers.setEnabled(True)
|
self.transfers.setEnabled(True)
|
||||||
|
|
||||||
self.conditionsWidget.setCurrentTurn(game.turn, game.conditions)
|
self.conditionsWidget.setCurrentTurn(game.turn, game.conditions)
|
||||||
|
|
||||||
base_m = game.conditions.weather.clouds.base
|
|
||||||
base_ft = int(meters(base_m).feet)
|
|
||||||
self.conditionsWidget.setToolTip(f"Cloud Base: {base_m}m / {base_ft}ft")
|
|
||||||
|
|
||||||
self.intel_box.set_game(game)
|
self.intel_box.set_game(game)
|
||||||
self.budgetBox.setGame(game)
|
self.budgetBox.setGame(game)
|
||||||
self.factionsInfos.setGame(game)
|
self.factionsInfos.setGame(game)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user