mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add culling exclusion zones display to the new map.
https://github.com/dcs-liberation/dcs_liberation/issues/2158
This commit is contained in:
@@ -22,6 +22,7 @@ from PySide2.QtWidgets import (
|
||||
|
||||
import qt_ui.uiconstants as CONST
|
||||
from game.game import Game
|
||||
from game.server import EventStream
|
||||
from game.settings import (
|
||||
BooleanOption,
|
||||
BoundedFloatOption,
|
||||
@@ -31,6 +32,7 @@ from game.settings import (
|
||||
OptionDescription,
|
||||
Settings,
|
||||
)
|
||||
from game.sim import GameUpdateEvents
|
||||
from qt_ui.widgets.QLabeledWidget import QLabeledWidget
|
||||
from qt_ui.widgets.spinsliders import FloatSpinSlider, TimeInputs
|
||||
from qt_ui.windows.GameUpdateSignal import GameUpdateSignal
|
||||
@@ -356,7 +358,9 @@ class QSettingsWindow(QDialog):
|
||||
self.cheat_options.show_base_capture_cheat
|
||||
)
|
||||
|
||||
self.game.compute_unculled_zones()
|
||||
events = GameUpdateEvents()
|
||||
self.game.compute_unculled_zones(events)
|
||||
EventStream.put_nowait(events)
|
||||
GameUpdateSignal.get_instance().updateGame(self.game)
|
||||
|
||||
def onSelectionChanged(self):
|
||||
|
||||
Reference in New Issue
Block a user