Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CGoGN
CGoGN
Commits
64fa7f53
Commit
64fa7f53
authored
May 11, 2012
by
unknown
Browse files
Merge cgogn:CGoGN
parents
8dc3b275
ebf6b26f
Changes
2
Show whitespace changes
Inline
Side-by-side
include/Algo/Import/importPlyData.h
View file @
64fa7f53
...
...
@@ -121,6 +121,8 @@ protected:
int
per_vertex_color_float32
,
per_vertex_color_uint8
;
int
has_normals
;
char
*
old_locale
;
};
}
// namespace CGoGN
...
...
src/Algo/Import/importPlyData.cpp
View file @
64fa7f53
...
...
@@ -25,6 +25,7 @@
#include
"Utils/os_spec.h"
#include
"Algo/Import/importPlyData.h"
#include
<stdlib.h>
#include
<locale.h>
namespace
CGoGN
{
...
...
@@ -64,6 +65,8 @@ PlyImportData::PlyImportData():
per_vertex_color_uint8
(
0
),
has_normals
(
0
)
{
old_locale
=
setlocale
(
LC_NUMERIC
,
NULL
);
setlocale
(
LC_NUMERIC
,
"C"
);
}
PlyImportData
::~
PlyImportData
()
...
...
@@ -89,6 +92,7 @@ PlyImportData::~PlyImportData()
// }
// need to free *vert_other,*face_other ????
setlocale
(
LC_NUMERIC
,
old_locale
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment