Merge pull request #20 from xoppa/master

Add error when no material
Convert transform inheritance if needed