Commit d2d8156c authored by Mike Kremer's avatar Mike Kremer

use the global draw mode

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16717 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1111def1
...@@ -117,12 +117,13 @@ int TypeHexahedralMeshPlugin::addEmpty() { ...@@ -117,12 +117,13 @@ int TypeHexahedralMeshPlugin::addEmpty() {
object->materialNode()->set_ambient_color(ACG::Vec4f(1.0, 1.0, 1.0, 1.0)); object->materialNode()->set_ambient_color(ACG::Vec4f(1.0, 1.0, 1.0, 1.0));
// Set rendering props // Set rendering props
object->meshNode()->drawMode(ACG::SceneGraph::DrawModes::SOLID_FLAT_SHADED); if(OpenFlipper::Options::gui()) {
object->meshNode()->set_scaling(0.8); object->meshNode()->set_scaling(0.8);
object->update(); object->update();
object->show(); object->show();
}
emit log(LOGINFO, object->getObjectinfo()); emit log(LOGINFO, object->getObjectinfo());
......
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