Commit 25a99649 by Philipp Adolf

Use subdivided mesh for rendering

parent 5858c94b
...@@ -129,9 +129,7 @@ void MainWidget::loadNewMesh(QString path){ ...@@ -129,9 +129,7 @@ void MainWidget::loadNewMesh(QString path){
qDebug()<<"Opening File:"<<path; qDebug()<<"Opening File:"<<path;
Mesh* temp = new Mesh(this,path); Mesh* temp = new Mesh(this,path);
subdivision->subdivide(temp); mesh = subdivision->subdivide(temp);
mesh = temp;
} }
void MainWidget::setRotation(bool started){ void MainWidget::setRotation(bool started){
......
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