Vyrtuoz / Tacview

The Universal Flight Analysis Tool
http://tacview.net
GNU General Public License v3.0
53 stars 16 forks source link

[MINOR BUG] Objects in dropdown menu don't update whenever the side is changed (.acmi file) #8

Open proudCobolWriter opened 1 year ago

proudCobolWriter commented 1 year ago

When an object changes sides in Tacview, the object representation in the dropdown menu does not update accordingly as shown in the video below. I couldn't test yet whether or not it happens with other properties too.

https://github.com/Vyrtuoz/Tacview/assets/77924245/51fc0b9f-e8f5-4dca-8f82-146cc54ab83a

RaiaSoftwareInc commented 1 year ago

Hi, thanks for reporting this. Where is this data coming from? Could you please share the ACMI file?

proudCobolWriter commented 1 year ago

Hey! Sorry for not replying earlier, I missed out on the notification. The data is coming from an early prototype of a Tacview data recorder I'm working on for a game called Arma 3. I've done everything according to the documentation (https://www.tacview.net/documentation/acmi/fr/) so I'm pretty clueless as to why this bug is occurring. I'll let you check the file for yourself : Arma3_x64_2023-06-13_17-39-23.zip

RaiaSoftwareInc commented 1 year ago

Nice work, making an exporter for Arma 3! I can confirm that what you are describing is a Tacview bug. I am working on an add-on which will get around this issue, since it is not feasible to fix it in Tacview 1.x. I hope to get back to you next week.

RaiaSoftwareInc commented 1 year ago

Here's an add-on that will update the UI whenever a color change is detected.

Decompress the add-on and place it in %PROGRAMDATA%/Tacview/AddOns/ , then enable it through the Add-Ons → Enable/Disable Add-Ons menu.

Let me know how it goes!

ui-updater.zip