Removing an unneccesary function (used temporaly to debug)
Fixing the use of the same material for different meshes!