Fixed the crash ocurring in the instances where we wanted to add the cubemap from a diffusion map's original image to the skybox and did not have another skybox already in place.
Fixed it by checking whether or not there is an already existing skybox and creating one in case there is not.
Fixed the crash ocurring in the instances where we wanted to add the cubemap from a diffusion map's original image to the skybox and did not have another skybox already in place.
Fixed it by checking whether or not there is an already existing skybox and creating one in case there is not.