reset material slot on redefinition


git-svn-id: svn://svn.tuxfamily.org/svnroot/tesseract/main@1671 b412e182-2ed4-4078-95c4-27dc59f57fa9