- fbx: read materials.

This commit is contained in:
acgessler
2012-07-02 17:37:00 +02:00
parent b49cf16bc2
commit 131008cea1
5 changed files with 128 additions and 21 deletions

View File

@@ -119,9 +119,17 @@ std::string PeekPropertyName(const Element& element)
} //! anon
// ------------------------------------------------------------------------------------------------
PropertyTable::PropertyTable(const Element& element, const PropertyTable* templateProps)
: element(element)
PropertyTable::PropertyTable()
: element()
, templateProps()
{
}
// ------------------------------------------------------------------------------------------------
PropertyTable::PropertyTable(const Element& element, boost::shared_ptr<const PropertyTable> templateProps)
: element(&element)
, templateProps(templateProps)
{
const Scope& scope = GetRequiredScope(element);