Page 1 of 1

[1.1.68] New blueprints clear filters on set_blueprint_X()

Posted: Fri Aug 26, 2022 5:09 am
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 799 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 799 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.

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

Posted: Tue Aug 30, 2022 6:34 pm
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.