- Add a private set_uninitialized() method for resetting the
initialized_ flag and I also clear the contents of bmodules_ and
cmodule_. initialize() will repopulate them.
- Fixing a memory leak in remove() - previously, when cmodule_ was
being removed, it was not deallocated.
- Attempted to simplify the DecimaterT<Mesh>::initialize method.
- Added a "FIXME" comment critical of special treatment of quadric module.
- Replaced -1 with proper ILLEGAL_COLLAPSE enum constant in
collapse_priority.
Patch submitted by Ilya A. Kriveshko
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@129 fdac6126-5c0c-442c-9429-916003d36597
This guarantees compatability between 32 and 64 bit architectures but comes along with some restrictions in usage:
- OpenMesh won't be able to store data of type unsigned long (if necessary split data into two uints)
- OpenMesh won't be able to store data types whose size exceeds the unsigned integer value range (which
is theoretically possible on 64 bit machines). Theoretically...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@127 fdac6126-5c0c-442c-9429-916003d36597