Merge pull request #338 from jasvir99/dirty

disables material field.