mostream crash fixed (Thanks to Adrian Secord for providing the patch)

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@256 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2009-12-22 10:22:02 +00:00
parent 0836019f91
commit cf91d704d6
3 changed files with 7 additions and 5 deletions

View File

@@ -2,16 +2,17 @@
#============================================================================================
OpenMesh 2.0-RC5 ( Rev 255 ):
OpenMesh 2.0-RC5 ( Rev 256 ):
* Core
- Fixed build error in function calc_dihedral_angle_fast
- Made iterators/circulators stl compliant
- Provide begin/end functions for circulators
- mostream crash fixed (Thanks to Adrian Secord for providing the patch)
* Readers/Writers
- Fixed build error in STL writer
- Fixed and enhanced PLY reader to better handling of unknown properties (Thanks to Michal Nociar for the patch)
- Fixed and enhanced PLY reader to improve handling of unknown properties (Thanks to Michal Nociar for the patch)
* Documentation
- Added mesh navigation tutorial

View File

@@ -7,19 +7,20 @@
<!-- --------------------------------------------------------------------- -->
<tr valign=top><td><b>2.0-RC5</b> (?/?/?,Rev.255)</td><td>
<tr valign=top><td><b>2.0-RC5</b> (?/?/?,Rev.256)</td><td>
<b>Core</b>
<ul>
<li>Fixed build error in function calc_dihedral_angle_fast</li>
<li>Made iterators/circulators stl compliant</li>
<li>Provide begin/end functions for circulators</li>
<li>mostream crash fixed (Thanks to Adrian Secord for providing the patch)</li>
</ul>
<b>Readers/Writers</b>
<ul>
<li>Fixed build error in STL writer</li>
<li>Fixed and enhanced PLY reader to better handling of unknown properties (Thanks to Michal Nociar for the patch)</li>
<li>Fixed and enhanced PLY reader to improve handling of unknown properties (Thanks to Michal Nociar for the patch)</li>
</ul>
<b>Documentation</b>

View File

@@ -180,7 +180,7 @@ protected:
if (!buffer_.empty())
{
if (enabled_) multiplex();
#if defined(OM_CC_GCC) || OM_CC_VERSION < 30000
#if defined( OM_CC_GCC ) && OM_CC_VERSION < 30000
buffer_ = ""; // member clear() not available!
#else
buffer_.clear();