EGP Parented Lines on HUD not rendering correctly
alexswad opened this issue · 1 comments
alexswad commented
Describe the bug
Parented lines on EGP HUDs don't render correctly, after more testing I see the line pop on the middle of my screen before disappearing. It sometimes happen on screens randomly
To Reproduce
Run this code with an EGP screen and HUD and notice the difference
@inputs EGP:wirelink
if (~EGP & EGP) {
EGP:egpClear()
EGP:egpCircle(3, vec2(200, 200), vec2(50, 50))
EGP:egpColor(3, vec(255, 0, 0))
EGP:egpLine(4, vec2(-20, 20), vec2(20, -20))
EGP:egpSize(4, 5)
EGP:egpParent(4, 3)
}
Expected behavior
Screenshot taken from Wiremod from 2022
Denneisk commented
Do you mind testing this and seeing if it still happens on the latest Github version? I just tested this again and it seems to work as expected.