Initialize the colors to avoid black surfaces.
authorMarcus D. Hanwell <marcus.hanwell@kitware.com>
Tue, 4 Jan 2011 19:38:29 +0000 (14:38 -0500)
committerMarcus D. Hanwell <marcus.hanwell@kitware.com>
Tue, 4 Jan 2011 19:38:29 +0000 (14:38 -0500)
commit191bbf58c3be621b082e502c1057457500194845
treea964d2609a3c435fe613f589765c750dd7123a8b
parentc3b408880547b8c6ea9c3f8c7fc1a2ed01ba5977
Initialize the colors to avoid black surfaces.

The writeSettings function is often called before readSettings when
showing surfaces. This means that the default values never get a chance.
It is also safer to initialize the values to avoid subtle bugs like
this in the future.

Change-Id: Id5dd75f609ed957625a827a4077e0644c593d309
libavogadro/src/engines/surfaceengine.cpp