MaterialByLayer bug fix

Setting a different materialIndex if its the default material was a
mistake.  The materialIndex should stay the same as the augment passed
in.