Commit dfdb8b68 authored by Jan Möbius's avatar Jan Möbius

Size_t conversion of the n_primitives functions in OpenMesh

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16879 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a53a5a23
......@@ -162,11 +162,11 @@ void InfoMeshObjectPlugin::printMeshInfo( MeshT* _mesh , int _id, unsigned int _
// ID
info_->id->setText( locale.toString(_id) );
// Vertices
info_->vertices->setText( locale.toString( _mesh->n_vertices() ) );
info_->vertices->setText( locale.toString( qulonglong(_mesh->n_vertices() ) ) );
// Faces
info_->faces->setText( locale.toString( _mesh->n_faces() ) );
info_->faces->setText( locale.toString( qulonglong( _mesh->n_faces() ) ) );
// Edges
info_->edges->setText( locale.toString( _mesh->n_edges() ) );
info_->edges->setText( locale.toString( qulonglong( _mesh->n_edges() ) ) );
if ( face ) {
......@@ -830,9 +830,9 @@ void InfoMeshObjectPlugin::slotObjectUpdated( int _identifier , const UpdateType
TriMesh* mesh = PluginFunctions::triMesh(object);
infoBar_->vertices->setText( QLocale::system().toString( mesh->n_vertices() ) );
infoBar_->edges->setText( QLocale::system().toString( mesh->n_edges() ) );
infoBar_->faces->setText( QLocale::system().toString( mesh->n_faces() ) );
infoBar_->vertices->setText( QLocale::system().toString( qulonglong(mesh->n_vertices()) ) );
infoBar_->edges->setText( QLocale::system().toString( qulonglong(mesh->n_edges()) ) );
infoBar_->faces->setText( QLocale::system().toString( qulonglong(mesh->n_faces()) ) );
infoBar_->showCounts();
......@@ -843,9 +843,9 @@ void InfoMeshObjectPlugin::slotObjectUpdated( int _identifier , const UpdateType
PolyMesh* mesh = PluginFunctions::polyMesh(object);
infoBar_->vertices->setText( QLocale::system().toString( mesh->n_vertices() ) );
infoBar_->edges->setText( QLocale::system().toString( mesh->n_edges() ) );
infoBar_->faces->setText( QLocale::system().toString( mesh->n_faces() ) );
infoBar_->vertices->setText( QLocale::system().toString( qulonglong(mesh->n_vertices()) ) );
infoBar_->edges->setText( QLocale::system().toString( qulonglong(mesh->n_edges()) ) );
infoBar_->faces->setText( QLocale::system().toString( qulonglong(mesh->n_faces()) ) );
infoBar_->showCounts();
return;
......
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