Browse Source

- Fixed nesting issue for Schema.

MelvMay-GG 12 years ago
parent
commit
e8e9f27
1 changed files with 1 additions and 5 deletions
  1. 1 5
      engine/source/persistence/taml/taml.cc

+ 1 - 5
engine/source/persistence/taml/taml.cc

@@ -948,12 +948,8 @@ bool Taml::generateTamlSchema( const char* pFilename )
         TiXmlElement* pSequenceElement = new TiXmlElement( "xs:sequence" );
         pComplexTypeElement->LinkEndChild( pSequenceElement );
 
-        if ( dStricmp( pType->getClassName(), "GuiBitmapCtrl" ) == 0 )
-        {
-            S32 a = 0;
-        }
         // Fetch container child class.
-        AbstractClassRep* pContainerChildClass = pType->getContainerChildClass( false );
+        AbstractClassRep* pContainerChildClass = pType->getContainerChildClass( true );
 
         // Is the type allowed children?
         if ( pContainerChildClass != NULL )