Marek Roszko
|
11de95778b
|
Unwrap the FROM_UTF8 macro in favor of direct function
The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
|
2023-09-09 00:10:57 -04:00 |
Marek Roszko
|
a6a20bf8dc
|
Evict the Pgm() dependency in GAL
|
2023-09-06 20:13:46 -04:00 |
Ian McInerney
|
6a2dcd1936
|
Refactor 3D viewer view into enum class
|
2023-06-20 21:52:50 +01:00 |
Mario Luzeiro
|
7bc976f3f4
|
3D-Viewer: sort models and material models when rendering in transparent
Also enables transparency on model preview and small optimizations fixes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14005
|
2023-03-02 22:29:08 +00:00 |
Marek Roszko
|
5ccf205788
|
Try and avoid crashing on gl context creation failure in the 3d viewer
Sentry event id 0ad4afa6b86a4a03ad7f8fdbcdb72f86
|
2023-02-14 21:19:41 -05:00 |
Marek Roszko
|
b3f55e7f8b
|
Ensure glew is initialized in the 3d model viewer
Fixes KICAD-7M
|
2023-01-23 22:52:18 -05:00 |
Marek Roszko
|
c50b4fb04f
|
Add relative to footprint 3d model path resolution
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2073
|
2022-09-25 22:56:16 -04:00 |
Marek Roszko
|
66e8931405
|
Remove IU_PER_MM thats standalone
|
2022-09-16 21:09:27 -04:00 |
Mikolaj Wielgus
|
afccea34a5
|
Remove default zoom level from camera constructor
Initial distance should be sufficient to determine default zoom.
|
2021-10-24 18:14:49 +00:00 |
Jeff Young
|
6c0110ecd3
|
Naming conventions.
There's nothing "legacy" about the OpenGL 3D renderer.
|
2021-10-21 14:30:03 +01:00 |
Ian McInerney
|
961c127ebe
|
Convert mouse coordinates to native pixesl in the 3D viewer
All operations in the camera are done using the native pixel sizes,
so we need to ensure the mouse coordinates are converted to native
pixels to make the mouse operations line up with the view.
Fixes https://gitlab.com/kicad/code/kicad/issues/2561
Fixes https://gitlab.com/kicad/code/kicad/issues/8410
|
2021-10-10 17:52:12 +01:00 |
Jeff Young
|
3347531f70
|
Better zoom defaults for 3D viewer.
Also includes a fix for 3D model viewer in the file dialog for Retina
(and possibly other HIDPI) displays.
Fixes https://gitlab.com/kicad/code/kicad/issues/6144
|
2021-06-28 19:08:23 +01:00 |
Jeff Young
|
73b91a1a92
|
More sensible zoom defaults for 3D viewers.
Also fixes a bug where the model viewer in the file picker was using
only 1/4 of the screen on HIDPI displays.
|
2021-06-28 19:08:23 +01:00 |
Jeff Young
|
89718dd3ba
|
Naming conventions.
|
2021-06-19 19:36:53 +01:00 |