Commit 3e73ef2a authored by Henrik Zimmer's avatar Henrik Zimmer

fixed bug: COG was inserted twice, meaning that all following information was...

fixed bug: COG was inserted twice, meaning that all following information was "wrong" / in the wrong row

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5516 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c4a3d9e9
......@@ -323,11 +323,6 @@ void InfoPlugin::printMeshInfo( MeshT* _mesh , int _id, unsigned int _face ) {
info_->table3->setItem(row,1, new QTableWidgetItem( QString::number(cog[1],'f') ) );
info_->table3->setItem(row,2, new QTableWidgetItem( QString::number(cog[2],'f') ) );
row++;
info_->table3->setItem(row,0, new QTableWidgetItem( QString::number(cog[0],'f') ) );
info_->table3->setItem(row,1, new QTableWidgetItem( QString::number(cog[1],'f') ) );
info_->table3->setItem(row,2, new QTableWidgetItem( QString::number(cog[2],'f') ) );
//face-normal
row++;
info_->table3->setItem(row,0, new QTableWidgetItem( QString::number( _mesh->normal(fh)[0],'f' ) ) );
......@@ -336,7 +331,7 @@ void InfoPlugin::printMeshInfo( MeshT* _mesh , int _id, unsigned int _face ) {
fv_it = _mesh->fv_iter(fh);
while( fv_it )
{
{
row++;
info_->table3->setItem(row,0, new QTableWidgetItem( QString::number( _mesh->point(fv_it)[0],'f' ) ) );
info_->table3->setItem(row,1, new QTableWidgetItem( QString::number( _mesh->point(fv_it)[1],'f' ) ) );
......
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