Jeff Young
0fc4ccf8d9
Clean up pad handling in 3D viewer.
...
Most importantly, create F_Cu/B_Cu layers if they're otherwise empty
but we have plated pads to render on them.
Fixes https://gitlab.com/kicad/code/kicad/issues/10207
(cherry picked from commit 0dc857b5ab
)
2022-04-03 15:51:33 +01:00
Mario Luzeiro
2567f45c1d
3D-Viewer: binds the default texture after draw and before end the list
...
Fixes https://gitlab.com/kicad/code/kicad/issues/2547
Fixes https://gitlab.com/kicad/code/kicad/issues/10741
(cherry picked from commit 7659f3c81b
)
2022-03-25 16:22:57 -07:00
Jeff Young
d295025964
Be explicit about literal wide-strings.
2022-02-04 20:21:07 +00:00
Seth Hillbrand
4814614d6d
Prevent OpenGL from re-using buffer vals
...
Skip GAL buffer numbers (presumed) when allocating 3d viewer buffers
Fixes https://gitlab.com/kicad/code/kicad/issues/8915
2021-12-01 13:37:24 -08:00
Seth Hillbrand
ccd3a1e6a9
3d-viewer: Don't special-case Paste
...
Paste layers should be clipped in Realistic mode. Verifying that paste
doesn't extend beyond the board area should be left to DRC, or
non-realistic mode if you need a 3d view of it.
Fixes https://gitlab.com/kicad/code/kicad/issues/9460
2021-10-25 11:18:13 -07:00
Jeff Young
6c0110ecd3
Naming conventions.
...
There's nothing "legacy" about the OpenGL 3D renderer.
2021-10-21 14:30:03 +01:00