LWO
- added workaround for LWOB's with ill-formed SURF chunks - layer hierarchy is now correct - fixed & simplified transparency handling FindDegenerates - fixed seldom crashes with RemoveDegenerates=1. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@369 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -550,7 +550,7 @@ struct Surface
|
||||
, mIOR (1.f) // vakuum
|
||||
, mBumpIntensity (1.f)
|
||||
, mWireframe (false)
|
||||
, mAdditiveTransparency (10e10f)
|
||||
, mAdditiveTransparency (0.f)
|
||||
{}
|
||||
|
||||
//! Name of the surface
|
||||
@@ -628,6 +628,7 @@ struct Layer
|
||||
: mFaceIDXOfs (0)
|
||||
, mPointIDXOfs (0)
|
||||
, mParent (0x0)
|
||||
, mIndex (0xffff)
|
||||
, skip (false)
|
||||
{}
|
||||
|
||||
@@ -663,6 +664,9 @@ struct Layer
|
||||
/** Parent index */
|
||||
uint16_t mParent;
|
||||
|
||||
/** Index of the layer */
|
||||
uint16_t mIndex;
|
||||
|
||||
/** Name of the layer */
|
||||
std::string mName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user