line-mesh-demo using setIndexRange(). When changing mode it doesn't recreate the...