Fix for 3D vertex without color

-Previous commit broke 3D as color is not used there often. So I made a
quick fix that will check if color is used. I will make forum topic
about this here: http://enigma-dev.org/forums/index.php?topic=1375.0