raiguard / PipeVisualizer

Visualize the layout and fluids in Factorio pipe networks.
https://mods.factorio.com/mod/PipeVisualizer
MIT License
5 stars 6 forks source link

Possible to disable entity shape render #27

Closed Nagapito closed 7 months ago

Nagapito commented 11 months ago

With these changes, user has 2 new options, so he can disable entity shape render for the mouse hover and/or for the overlay.

Nagapito commented 11 months ago

A nice "side-effect" of the way the render system is implemented is, at least for me, if the user disables tile shape render for mouse-over, while he is hovering entities/pipes and he presses H, the system does not do the overlay redraw so, it looks like the user is "bookmarking" mouse-overs he did since they dont contain the entity.

Nagapito commented 11 months ago

Now verifies correctly if mouseover is enabled or not... This way, you can mouseover a pipe, press H and lock the render of that pipe with or without shapes rendered as chosen on options and then disable mouseover, go to a diferent system and press H again and new system is rendered or updated correctly with or without shapes.

Nagapito commented 10 months ago

Thanks, I will take a look at your comments. I also noted that one of my "optimizations" on second submit, actually does not behave as I was expecting, so it also needs some tweaks.

raiguard commented 7 months ago

Are you still interested in getting this merged?

Nagapito commented 7 months ago

Hi, sorry, life got busy and at same time got a little burned out of Factorio. I blame you all with the Factorio 2.0 hype!! I just dont feel like playing without the new coming QoL stuff :)

I might revisit this PR at a later time and , if I do, I will submit a new one.