fix for out of bounds memory access in solidify (harmless with guardedalloc padding but bad practice)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57008 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35500] Material Copy Crash on specific scenes
check material textures exist before using in a pasted material.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57009 954f8c5b-7b00-dc11-b283-0030488c597c