← Back to team overview

kicad-developers team mailing list archive

Re: Help on saving colors options on 3D-Viewer

 

El 09/08/2020 a las 18:49, Mário Luzeiro escribió:
Hello all,

I'm looking for help on anyone behind the "settings saving and best practice".

I noticed there were lots of changes related how settings are saved.
Currently  the color settings on 3D-Viewer come from:
COLOR_SETTINGS* colors = Pgm().GetSettingsManager().GetColorSettings();
They are labeled as LAYER_3D_
There is LAYER_3D_BACKGROUND_BOTTOM and LAYER_3D_BACKGROUND_TOP that are not really layers.

I have in mind, to implement a color options of the lights on Raytracing render,
(please also comment if you have anything to say about this idea)
so I was looking for guidance where/how should it be implemented and where/how should it be saved.

For me it looks better to store this colors next to other 3D-Viewer settings (EDA_3D_VIEWER_SETTINGS)
but still not sure how to add there a color parameter.

I appreciate any hint!

Regards,
Mario Luzeiro
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp
Hello,

3D it looks like the Vierwer is suffering an error too, it doesn't save solder masc color between sessions.
Must be related again with UT8 characters in path (Iñigo in my case).

Iñigo.


References