Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenMesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenMesh
OpenMesh
Commits
6959e4ce
Commit
6959e4ce
authored
Dec 21, 2016
by
Jan Möbius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into featureMeshConversion
parents
2d4abf2d
46c87795
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
2 deletions
+26
-2
Doc/changelog.docu
Doc/changelog.docu
+24
-0
src/OpenMesh/Core/IO/writer/OMWriter.cc
src/OpenMesh/Core/IO/writer/OMWriter.cc
+2
-2
No files found.
Doc/changelog.docu
View file @
6959e4ce
...
...
@@ -8,6 +8,30 @@
<tr valign=top><td><b>7.0</b> (?/?/?)</td><td>
<b>Core</b>
<ul>
<li>make all negative handles invalid, not just -1</li>
<li>Several warnings fixed (Including the checked iterators)</li>
</ul>
<b>IO</b>
<ul>
<li>BaseExporter: Added accessor functions for HalfEdgeHandles and faceTexCoords to base exporter and exporter template.</li>
<li>OBJ Writer: Added functionality to store FaceTexCoords to objwriter</li>
<li>OBJ Loader: range check for vertex colors and normals in OBJ loader</li>
<li>OBJ Loader: fixed handling of negative indices in OBJ loader</li>
<li>OM Writer: Fixed OMWriter when no faces are available (Thanks to Jamie Kydd for the patch)</li>
</ul>
<b>Unittests</b>
<ul>
<li>Added unittest to write and read faceTexcoords with a test obj file</li>
</ul>
<b>General</b>
<ul>
<li>Updated Logo</li>
</ul>
</tr>
...
...
src/OpenMesh/Core/IO/writer/OMWriter.cc
View file @
6959e4ce
...
...
@@ -318,7 +318,7 @@ bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be,
// ---------- write face normals
if
(
_be
.
has_face_normals
()
&&
_opt
.
check
(
Options
::
FaceNormal
)
)
if
(
_be
.
n_faces
()
&&
_be
.
has_face_normals
()
&&
_opt
.
check
(
Options
::
FaceNormal
)
)
{
#define NEW_STYLE 0
#if NEW_STYLE
...
...
@@ -353,7 +353,7 @@ bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be,
// ---------- write face color
if
(
_be
.
has_face_colors
()
&&
_opt
.
check
(
Options
::
FaceColor
))
if
(
_be
.
n_faces
()
&&
_be
.
has_face_colors
()
&&
_opt
.
check
(
Options
::
FaceColor
))
{
#define NEW_STYLE 0
#if NEW_STYLE
...
...
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