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:
Josh Holtrop committed 2009-03-03 03:06:56 +00:00
1 parent 31e2604f98
commit bb5eb07c75
4 files changed
+44 -10

No files matched your search

+3 -3
View File
@@ -239,9 +239,9 @@ material_item: COLOR vector {
}
;
material_definition: MATERIAL IDENTIFIER LCURLY material_items RCURLY {
$$ = new MaterialDefinitionNode($2->getString());
$$->addChildren($3);
material_definition: DEFINE MATERIAL IDENTIFIER LCURLY material_items RCURLY {
$$ = new MaterialDefinitionNode($3->getString());
$$->addChildren($5);
}
;