3d: enable grid linestyle