Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
OpenMesh
Commits
3b0ee931
Commit
3b0ee931
authored
Dec 08, 2016
by
Jan Möbius
Browse files
Use static casts
parent
5cd9448a
Pipeline
#3836
passed with stage
in 40 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/OpenMesh/Core/IO/writer/OBJWriter.cc
View file @
3b0ee931
...
...
@@ -275,9 +275,9 @@ write(std::ostream& _out, BaseExporter& _be, Options _opt, std::streamsize _prec
{
for
(
size_t
i
=
0
,
nF
=
_be
.
n_faces
();
i
<
nF
;
++
i
)
{
vh
=
VertexHandle
(
int
(
i
));
vh
=
VertexHandle
(
static_cast
<
int
>
(
i
));
t
=
_be
.
texcoord
(
vh
);
texMap
[
t
]
=
(
int
)
i
;
texMap
[
t
]
=
static_cast
<
int
>
(
i
)
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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