Fix debug-build lambda scoping issue
CurveMesh now readable!