Add error when no material
Merge pull request #20 from xoppa/master

Add error when no material