Jeff Young
16047b7419
3D preferences bug fixes.
1) Make sure prefs get saved when closing parent frame.
2) Add camera projection mode to settings.
Fixes https://gitlab.com/kicad/code/kicad/issues/8110
Fixes https://gitlab.com/kicad/code/kicad/issues/8626
4 years ago
Seth Hillbrand
3269ca3201
Fix compile error on BSD
The cast here should actually be from '0' and not 'NULL' as we are
getting an integer value of 0 for the bbox_idx_count
Fixes https://gitlab.com/kicad/code/kicad/issues/8580
4 years ago
Jeff Young
5d9c1dd75a
Better names for 3D material properties rendering modes.
(Also restores the legacy behaviour of ignoring transparency in
diffuse mode.)
Fixes https://gitlab.com/kicad/code/kicad/issues/8437
4 years ago
Jeff Young
096e342386
Prefix TRACK, ARC and VIA.
4 years ago
jean-pierre charras
1c3df973d6
Coverity warnings fixes.
5 years ago
luz paz
5f1e9bc8a7
Fix typos in source code
5 years ago
luz paz
f968fc8719
Fix source comment / documentation typos
5 years ago
Marek Roszko
8377ebb0e1
Fix msvc warnings
5 years ago
david-beinder
86add3bb85
Fix MSVC C4312 warnings when casting 32bit ints to pointer types on 64bit builds
5 years ago
Marek Roszko
25678ee00d
Fix msvc 16.10 build error
5 years ago
Marek Roszko
4df3cb912d
Remove another leaky wx/log.h header
5 years ago
Ian McInerney
d56251fdac
Remove universal include of wx.h in 3d viewer OpenGL file
5 years ago
jean-pierre charras
a06f965ffa
3Dviewer: fix incorrect drawing of a 3d model hovered by the mouse pointer.
Was due to a recent change in 3D code.
5 years ago
Jeff Young
ac58a3f9f0
Add preference for 3d-model-highlight-on-rollover.
Fixes https://gitlab.com/kicad/code/kicad/issues/8349
5 years ago
Wayne Stambaugh
d2a7f81b10
Debugging improvements and clean up.
* Remove unused wxLogDebug calls.
* Add add application level character tracing to detect unhandled key
events.
* Catch unhandled exceptions in KiCad main event loop like single top
applications.
5 years ago
Marek Roszko
03cf2b517f
Enum class PAD_ATTR_T
Renamed such that python stays the same
5 years ago
Marek Roszko
a69256e15b
Remove extraneous #include
5 years ago
Ian McInerney
ecd9bf696e
Be consistent about using nullptr instead of 0
0 can be too easily overloaded into an int, so ensure we use nullptr
when we mean pointers.
5 years ago
Mario Luzeiro
e92dc96767
3D-Viewer: fix issue with solder mask
Fixes https://gitlab.com/kicad/code/kicad/issues/8272
5 years ago
Mario Luzeiro
cdc8fd3804
3D-Viewer: improve edge texture clamping of end segments
Fixes https://gitlab.com/kicad/code/kicad/issues/8245
5 years ago
david-beinder
e0f69ad28b
3D viewer: Fix gap between plating and annulus copper
Hide transition by ending layer copper withing the annulus of the cylinder. Also always use hole wall thickness and set more realistic solder mask thickness
5 years ago
Mikolaj Wielgus
744e70df36
3D Viewer: Fix mouse panning in orthographic projection mode
Fixes https://gitlab.com/kicad/code/kicad/issues/5561
5 years ago
Dominik Wernberger
e2aa7be4b3
Added a lot of consts and refactored a few lines
5 years ago
kamp
0a9a9d625e
Fix BBOX_3D documentation
5 years ago
Marek Roszko
907e282347
Silence some msvc warnings
- exception variables that were unused
- RAYSEG2D improperly foward declared with class instead of struct
- unused vars
5 years ago
Wayne Stambaugh
2d64613bbb
Coverity fixes.
Reports 314745, 316271, and 316269.
5 years ago
Wayne Stambaugh
926cc3a00d
3D Viewer: more code cleaning and naming improvements.
5 years ago
jean-pierre charras
86be755c83
Fix compil warning: do not use class instead of struct in forward declarations
5 years ago
Wayne Stambaugh
1c7a5c46e5
3D Viewer: member variable and method naming improvements.
A few build improvements thrown in for a good measure.
5 years ago
Wayne Stambaugh
710e621c6a
3D Viewer: remove all instances of "c" prefix from file names.
5 years ago
Wayne Stambaugh
8416c1fc37
3D Viewer: remove all instances of "C" prefix from object names.
5 years ago
Dominik Wernberger
caf300aa33
Fix memory leak
5 years ago
Wayne Stambaugh
f311831c27
Coverity fixes.
280252, 314742, 314745, 314747, 314755, 314756, 314757, 314758,
314935, 314936
5 years ago
Ian McInerney
048900dda7
Fixup the 3d Viewer code after the last fixup
5 years ago
Wayne Stambaugh
4d128b819a
3D viewer code cleaning round 3.
5 years ago
Wayne Stambaugh
9e22499350
3D viewer code cleaning round 2.1.
5 years ago
Wayne Stambaugh
1eba0c435b
3D viewer code cleaning round 2.
5 years ago
Wayne Stambaugh
d1fe4a0c98
3D viewer code cleaning round 1.
5 years ago
jean-pierre charras
e6550fb92e
3D viewer: fix a draw issue: missing holes.
Fixes #6608
https://gitlab.com/kicad/code/kicad/issues/6608
5 years ago
Jeff Young
7f360a7188
Some renaming in 3D code for better SNR. Also formatting fixes.
5 years ago
Jeff Young
3ca06700fc
Formatting.
5 years ago
Jeff Young
9c7c05c161
Mostly formatting cleanup but a few type-casting cleanups too.
5 years ago
Mario Luzeiro
8b9be2e129
3D-Viewer: fixes generations of layer lists
Fixes https://gitlab.com/kicad/code/kicad/issues/6385
5 years ago
Jeff Young
7bd31d5237
Naming conventions.
5 years ago
Jeff Young
bdbb68f813
MODULE -> FOOTPRINT.
5 years ago
Jeff Young
63a54d003e
More module -> footprint.
5 years ago
Jeff Young
522d64968e
Yet more module -> footprint.
5 years ago
Jeff Young
9106cc19bf
Yet another tranche of module -> footprint.
5 years ago
Jeff Young
fc9cf1d827
More module -> footprint.
5 years ago
Jeff Young
52a46341db
More module -> footprint.
5 years ago