pac3 icon indicating copy to clipboard operation
pac3 copied to clipboard

pac.DrawEntity2D prevents pacs from rendering correctly

Open Earu opened this issue 5 years ago • 3 comments

Whenever you use pac.DrawEntity2D in a panel paint function, pac doesn't draw properly anymore. example

Earu avatar May 28 '20 21:05 Earu

Is that it in the panel down there? So pac.DrawEntity2D works fine, but it breaks the original rendering?

thegrb93 avatar May 29 '20 18:05 thegrb93

Can you add debug.Trace() inside function pac.HideEntityParts(ent) and also around line 860 before the pac.HideEntityParts(ent), add print(forced_rendering)

And let me know what the console prints.

thegrb93 avatar May 29 '20 18:05 thegrb93

I tried to fix this but not sure if it's the problem. Does it work better now?

CapsAdmin avatar Jan 27 '21 21:01 CapsAdmin