Comments (2)
Problem seems to be in eos.saveddata.fit.fill()
, or at least partly. The real issue is that subsystems change the number of slots. In service.fit.appendModule()
, pyfa compares the number of modules on fit before and after fill()
. If those equate to each other, the fittingView
never fires slotsChanged()
which helps to refresh the GUI.
On my Loki, I have any subsystem for the other slots. For the Propulsion, all the modules have +1 to low slots, whereas the Nullifier does not. This means that if you have a fit that has one empty slot, then you might have 23 modules to 24 slots. If you switch to the Nullifier, the number of slots decrements -1, but the number of modules stay the same. Since they equate each other, it never refreshes.
This problem does not occur if you have all the slots filled and then switch to the Nullifier. There are some other subsystems that do this, when the number of mods on the ship equates to the new number of slots when switching fits out.
It seems that this used to be a way to signal that we're dealing with a t3 cruiser - if the comparison does not equate, then the slots must have changed, and so we fire off the slotsChanged
. But there are edge cases where this does not work.
I will be submitting a pull request to simply call slotsChanged
regardless to cover our bases. I've tested this with t3 and regular ships with no signs of regression, so from what I've noticed it's not harmful to call this with every ship (I'll also be removing it from removeModule
for in-case purposes)
from pyfa.
fixed 752b1fe
from pyfa.
Related Issues (20)
- Feature Request: Custom Target Profile Directories HOT 4
- Update for 2024-02-20.1 balance changes HOT 1
- Colour mode on high/med/low etc racks is broken HOT 5
- Trojan infection HOT 19
- Can't open character editor in China HOT 7
- Error when open ship fitting file HOT 1
- Graph window is broken on MacOS 11.7.10 HOT 10
- windows 10 dark mode UI bug (unredable UI) HOT 1
- Colors in dark mode are still hard to read in MacOS (11.7.10) HOT 2
- Error and traceback when using Backup All Fittings HOT 1
- HTML Export Contains No Data HOT 2
- ImportError: libnotify.so.4: cannot open shared object file: No such file or directory HOT 5
- Error During Operation HOT 1
- Linux Image Symbol Missing wl_proxy_marshal_flags HOT 2
- Electronic Hardening - Effect is not simulated in Pyfa HOT 3
- Graph improvement: simulate defensive ewar in dps graph
- NotImplementedError python stacktrace upon app launch (Linux version) HOT 1
- Error while fetching ESI fittings
- Pyfa gives Gnosis 50% Mining drone bonus, in-game fitting does not. HOT 1
- No URL opening
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyfa.