update #279 : fix compilation in 3D