MD3
- shaders are now processed - multi-part player models are handled correctly Material system - added flags for 'usealpha' or 'ignorealpha' setting of textures LWO - fixed texture assignment bug due to invalid tag list 3DS - improved handling of dummy nodes Viewer: - lines&points are now displayed - improved animation control via slider (still some stuff missing) - skeleton is now displayed - some other minor fixes Validator: - some material issues are warnings now (no errors anymore) git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@349 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -669,14 +669,16 @@ void Discreet3DSImporter::ParseHierarchyChunk(uint16_t parent)
|
||||
|
||||
// This is the "real" name of a $$$DUMMY object
|
||||
{
|
||||
if (mCurrentNode->mName != "$$$DUMMY") {
|
||||
DefaultLogger::get()->warn("3DS: Skipping dummy object name for non-dummy object");
|
||||
const char* sz = (const char*) stream->GetPtr();
|
||||
while (stream->GetI1());
|
||||
// mCurrentNode->mDummyName = std::string(sz);
|
||||
|
||||
// FIX: if object name is DUMMY, take this one instead
|
||||
if (mCurrentNode->mName == "$$$DUMMY") {
|
||||
//DefaultLogger::get()->warn("3DS: Skipping dummy object name for non-dummy object");
|
||||
mCurrentNode->mName = std::string(sz);
|
||||
break;
|
||||
}
|
||||
|
||||
const char* sz = (const char*)stream->GetPtr();
|
||||
while (stream->GetI1());
|
||||
mCurrentNode->mDummyName = std::string(sz);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user