mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Don't rebuild the ATO model on selection change.
Much faster and avoids nasty concurrency issues between the JS and Python side. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1719
This commit is contained in:
@@ -797,6 +797,7 @@ class Flight {
|
||||
this.aircraft = null;
|
||||
this.path = null;
|
||||
this.commitBoundary = null;
|
||||
this.flight.selectedChanged.connect(() => this.draw());
|
||||
this.flight.positionChanged.connect(() => this.drawAircraftLocation());
|
||||
this.flight.flightPlanChanged.connect(() => this.drawFlightPlan());
|
||||
this.flight.commitBoundaryChanged.connect(() => this.drawCommitBoundary());
|
||||
|
||||
Reference in New Issue
Block a user