Fix editor for 3d-sdfiles

Fixes mistake du to another fix
Solves bug 3565