Commit 35b330e1 authored by Isaak Lim's avatar Isaak Lim
Browse files

do not set the default color for polylines

refs #1696

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17169 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8d5e0624
......@@ -45,8 +45,6 @@
#include "OpenFlipper/BasePlugin/PluginFunctions.hh"
#include <OpenFlipper/common/GlobalOptions.hh>
TypePolyLinePlugin::TypePolyLinePlugin() {
}
......@@ -74,11 +72,6 @@ int TypePolyLinePlugin::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);
object->update();
object->show();
......
Supports Markdown
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