fixed bug in material definitions, added them to cyls.fart, they are working now!
git-svn-id: svn://anubis/fart/trunk@179 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
31e2604f98
commit
bb5eb07c75
4 files changed
+44
-10
No files matched your search
@@ -193,6 +193,7 @@ void Scene::processMaterialDefinition(refptr<Node> node)
|
||||
m_materials.find(node->getString());
|
||||
if ( it == m_materials.end() )
|
||||
{
|
||||
cout << "Creating material " << node->getString() << endl;
|
||||
m_materials[node->getString()] = processMaterial(node);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user