Corrected again the constructor of the base trimesh. Now it simply call the clear (just to enforce same behaviour)
This commit is contained in:
parent
f7abd17dfe
commit
3bb7e7bdd9
|
@ -323,10 +323,7 @@ public:
|
||||||
/// Default constructor
|
/// Default constructor
|
||||||
TriMesh()
|
TriMesh()
|
||||||
{
|
{
|
||||||
fn = en = vn = 0;
|
Clear();
|
||||||
imark = 0;
|
|
||||||
attrn = 0;
|
|
||||||
C()=Color4b::Gray;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// destructor
|
/// destructor
|
||||||
|
@ -372,10 +369,15 @@ void Clear()
|
||||||
{
|
{
|
||||||
vert.clear();
|
vert.clear();
|
||||||
face.clear();
|
face.clear();
|
||||||
|
edge.clear();
|
||||||
// textures.clear();
|
// textures.clear();
|
||||||
// normalmaps.clear();
|
// normalmaps.clear();
|
||||||
vn = 0;
|
vn = 0;
|
||||||
|
en = 0;
|
||||||
fn = 0;
|
fn = 0;
|
||||||
|
imark = 0;
|
||||||
|
attrn = 0;
|
||||||
|
C()=Color4b::Gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Reflection functions that speak about vertex and face properties.
|
/// Reflection functions that speak about vertex and face properties.
|
||||||
|
|
Loading…
Reference in New Issue