Re: [Kicad-developers] macOS 3d-viewer improvements

2017-12-18 Thread Maciej Sumiński
Hi Bernhard, I tested your patches on Linux and Windows 7 and I have not noticed any problems, so I pushed them to the master branch. Thank you! Regards, Orson On 12/17/2017 10:55 PM, Bernhard Stegmaier wrote: > Hi Wayne, > > sorry, I obviously have copied a wx-3.1 only constructor. > Please

Re: [Kicad-developers] macOS 3d-viewer improvements

2017-12-17 Thread Bernhard Stegmaier
Hi Wayne, sorry, I obviously have copied a wx-3.1 only constructor. Please try attached patches. Thanks, Bernhard 0001-Create-HIDPI_GL_CANVAS-wrapper-for-transparent-wxGLC.patch Description: Binary data 0002-Merge-HIDPI_GL_CANVAS-wrapper-with-OPENGL_GAL-implem.patch Description: Binary

Re: [Kicad-developers] macOS 3d-viewer improvements

2017-12-15 Thread Wayne Stambaugh
Bernhard, Your patch set fails to build on Linux (Debian testing) with the following build errors: In file included from /home/wayne/src/kicad/kicad-trunk/common/gal/hidpi_gl_canvas.cpp:27:0: /home/wayne/src/kicad/kicad-trunk/include/gal/hidpi_gl_canvas.h:45:22: error: ‘wxGLAttributes’ does not

[Kicad-developers] macOS 3d-viewer improvements

2017-12-11 Thread Bernhard Stegmaier
Hi, Attached patches improve 3d-viewer on macOS a bit. Patches (1)+(2) add Retina support to 3d-viewer just like it was already there for GAL canvas. I pulled out all the ugly #ifdef stuff into a new base class, so now all Retina related code for GAL and 3d-viewer is in one class. I put it