-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix removed FGD bases creeping into final output through sorted_ents #34
Fix removed FGD bases creeping into final output through sorted_ents #34
Conversation
Seems like i tripped a lot of tests? Was this the intended behavior then? |
It is yes, see the comment below. FGD bases are kinda annoying, since Probably better to make sure you remove entities from bases if you're removing them from the FGD itself. |
Ahhh okay. With my particular use case, I need to keep the base class on the entity itself, but not export the base class. This is so I can do things such as extend an existing entity, giving it a new base class, or rely on a base class from the parent repo without having to include that base class. |
Ah, if you just want to have the |
Sorry for the slow response here! I went to try converting it all to strings, but it seems like
|
Ah, I guess I didn't think you would want to do this, probably should get rid of that error then yes. |
15e627f
to
e811392
Compare
I've pushed a fix now that works for what I'm trying to do |
Thanks for merging this! |
This fixes an issue i was having where entites removed from an FGD were creeping back in. This was breaking my work on using
@ExtendClass
as i would find entries duplicated or removed bases appearing`This would manifest looking something like this
Not sure if this is the greatest fix, as it might slow down this function a little!