[1.1.68] New blueprints clear filters on set_blueprint_X()

Bugs that are actually features.
Post Reply
BurninSun
Inserter
Inserter
Posts: 44
Joined: Fri Mar 16, 2018 4:54 am
Contact:

[1.1.68] New blueprints clear filters on set_blueprint_X()

Post by BurninSun »

While making a new blueprint, with the blueprint GUI up with a blueprint containing tiles, enable the tiles filter on the left. Then use (seemingly) any of the set_blueprint_X(...) functions and it will reset all the filter checkboxes on the left.

This is my basic blueprint:
bp1.png
bp1.png (247.71 KiB) Viewed 785 times
I then run the console command

Code: Select all

/c game.player.blueprint_to_setup.set_blueprint_entities(game.player.blueprint_to_setup.get_blueprint_entities())
and this is the result:
bp2.png
bp2.png (94.9 KiB) Viewed 785 times
I haven't found a way to keep that filter on, nor can I find any API that allows me to turn it on after its been turned off. It should remain turned on. The same happens with `get/set _blueprint_tiles()`. If entities are filtered off, they get turned on. Train stop names and tiles get turned off.
Last edited by BurninSun on Fri Aug 26, 2022 8:15 am, edited 1 time in total.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.68] New blueprints clear filters on set_blueprint_X()

Post by Rseding91 »

Thanks for the report however this is working as intended. All of those calls potentially invalidate everything that the GUI is showing so when they happen the entire GUI is re-loaded.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Not a bug”