wiremod / wire

Garry's Mod add-on that allows users to wire up components in order to make more elaborate automatic and user-controlled contraptions.
http://www.wiremod.com
Apache License 2.0
546 stars 332 forks source link

It is impossible to change the outline thickness of egpWedgeOutline #3048

Open UnwovenSleeve opened 2 months ago

UnwovenSleeve commented 2 months ago

EGP Outlines use egpSize to change line thickness, but egpWedge uses egpSize to change the wedge's fraction/width.

So with egpWedgeOutline, the wedge size takes priority over line thickness, meaning that you're always stuck with a thickness of 1

I'm guessing this was just a simple oversight, not thinking about a niche problem that only 1 person will ever actually encounter, but it would be helpful to have the functionality there.

Going off-format with the issue here as it's not really applicable, for fixing this though it would probably make the most sense to give egpWedge and egpWedgeOutline an extra parameter for adjusting the wedge size, instead of having to use egpSize, or better yet, making a new "egpWidth" or "egpThickness" etc. for outlines to use.

Denneisk commented 2 months ago

That sounds doable. I could see simply changing the wedge "size" parameter to "radius".

Actually might not work since people expect size... Maybe I'll have it change over for EGPObjects only.