Small changes.

This commit is contained in:
Federico Ponchio 2005-01-18 22:46:58 +00:00
parent 244e548569
commit 221723b519
2 changed files with 4 additions and 1 deletions

View File

@ -148,7 +148,6 @@ void nxs::Remap(VChain &chain,
unsigned int newpatch = patch_remap[patch]; unsigned int newpatch = patch_remap[patch];
assert(newpatch < index.size()); assert(newpatch < index.size());
assert(newpatch >= 0);
remap[i] = newpatch; remap[i] = newpatch;
BlockEntry &entry = index[newpatch]; BlockEntry &entry = index[newpatch];
entry.size++; entry.size++;

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.2 2004/12/04 13:24:28 ponchio
Fixed a couple of memory leak...
Revision 1.1 2004/11/30 22:50:30 ponchio Revision 1.1 2004/11/30 22:50:30 ponchio
Level 0. Level 0.
@ -56,6 +59,7 @@ class VPartition: public std::vector<vcg::Point3f> {
for(unsigned int i = 0; i < part.size(); i++) for(unsigned int i = 0; i < part.size(); i++)
push_back(part[i]); push_back(part[i]);
Init(); Init();
return *this;
} }
public: public:
void Init(); void Init();