Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37732139
en ru br
ALT Linux repositórios
S:2021.10-alt2

Group :: Gráficos
RPM: meshlab

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: meshlab-2016.12-readheader.patch
Download


diff -up vcglib-1.0.1/wrap/io_trimesh/import_nvm.h.readheader vcglib-1.0.1/wrap/io_trimesh/import_nvm.h
--- vcglib-1.0.1/wrap/io_trimesh/import_nvm.h.readheader	2016-12-29 04:54:58.000000000 -0500
+++ vcglib-1.0.1/wrap/io_trimesh/import_nvm.h	2017-07-20 13:05:45.099059946 -0400
@@ -85,10 +85,10 @@ static bool ReadHeader(FILE *fp,unsigned
     return true;
 }
 
-static bool ReadHeader(const char * filename,unsigned int &/*num_cams*/, unsigned int &/*num_points*/){
+static bool ReadHeader(const char * filename,unsigned int &num_cams, unsigned int &/*num_points*/){
     FILE *fp = fopen(filename, "r");
     if(!fp) return false;
-    ReadHeader(fp);
+    ReadHeader(fp, num_cams);
     fclose(fp);
     return true;
 }
diff -up vcglib-1.0.1/wrap/io_trimesh/import_out.h.readheader vcglib-1.0.1/wrap/io_trimesh/import_out.h
--- vcglib-1.0.1/wrap/io_trimesh/import_out.h.readheader	2016-12-29 04:54:58.000000000 -0500
+++ vcglib-1.0.1/wrap/io_trimesh/import_out.h	2017-07-20 13:02:21.667838999 -0400
@@ -85,10 +85,10 @@ static bool ReadHeader(FILE *fp,unsigned
     return true;
 }
 
-static bool ReadHeader(const char * filename,unsigned int &/*num_cams*/, unsigned int &/*num_points*/){
+static bool ReadHeader(const char * filename,unsigned int &num_cams, unsigned int &num_points){
     FILE *fp = fopen(filename, "r");
     if(!fp) return false;
-    ReadHeader(fp);
+    ReadHeader(fp, num_cams, num_points);
     fclose(fp);
     return true;
 }
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009