Commit d5dacca0 authored by David Bommes's avatar David Bommes

make sphere visualization default

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19264 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fa1c8cb7
...@@ -918,7 +918,8 @@ me_insert( QMouseEvent* _event ) ...@@ -918,7 +918,8 @@ me_insert( QMouseEvent* _event )
cur_polyline_obj_->materialNode()->set_random_color(); cur_polyline_obj_->materialNode()->set_random_color();
cur_polyline_obj_->line()->set_vertex_radius(PluginFunctions::sceneRadius()*0.012); cur_polyline_obj_->line()->set_vertex_radius(PluginFunctions::sceneRadius()*0.012);
cur_polyline_obj_->lineNode()->drawMode(ACG::SceneGraph::DrawModes::WIREFRAME|ACG::SceneGraph::DrawModes::POINTS);
cur_polyline_obj_->lineNode()->drawMode(ACG::SceneGraph::DrawModes::DrawMode::getFromDescription("Points (as Spheres)") | ACG::SceneGraph::DrawModes::WIREFRAME);
cur_polyline_obj_->line()->add_point((PolyLine::Point) hit_point); cur_polyline_obj_->line()->add_point((PolyLine::Point) hit_point);
......
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