Commit c2ec0bac authored by Jan Möbius's avatar Jan Möbius
Browse files

Set default color on skeleton to blueish

closes #1758



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17730 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ec6e08b6
......@@ -198,10 +198,8 @@ int TypeSkeletonPlugin::addEmpty(){
QFileInfo f(name);
object->setName( f.fileName() );
// set the default colors
const QColor color = OpenFlipper::Options::defaultColor();
const ACG::Vec4f default_color(color.redF(), color.greenF(), color.blueF(), color.alphaF());
object->materialNode()->set_color(default_color);
// set the default color
object->materialNode()->set_color(ACG::Vec4f(0.654f, 0.8f, 1.0f, 1.0f));
object->update();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment