mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix : Code that should be commented for custom ref point.
This commit is contained in:
parent
53bd147de2
commit
a845ed1998
@ -71,7 +71,6 @@ class QLiberationMap(QGraphicsView):
|
||||
"""
|
||||
|
||||
Uncomment to set up theather reference points
|
||||
"""
|
||||
def keyPressEvent(self, event):
|
||||
#super(QLiberationMap, self).keyPressEvent(event)
|
||||
|
||||
@ -105,6 +104,7 @@ class QLiberationMap(QGraphicsView):
|
||||
|
||||
print(self.game.theater.reference_points)
|
||||
self.reload_scene()
|
||||
"""
|
||||
|
||||
|
||||
def reload_scene(self):
|
||||
@ -117,9 +117,9 @@ class QLiberationMap(QGraphicsView):
|
||||
self.addBackground()
|
||||
|
||||
# Uncomment below to help set up theater reference points
|
||||
for i, r in enumerate(self.game.theater.reference_points.items()):
|
||||
text = scene.addText(str(r), font=QFont("Trebuchet MS", 10, weight=5, italic=False))
|
||||
text.setPos(0, i * 24)
|
||||
#for i, r in enumerate(self.game.theater.reference_points.items()):
|
||||
# text = scene.addText(str(r), font=QFont("Trebuchet MS", 10, weight=5, italic=False))
|
||||
# text.setPos(0, i * 24)
|
||||
|
||||
for cp in self.game.theater.controlpoints:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user