void colorIsosurface() {
		setMapRanges();
		if (isContoured) { // did NOT work here.
			generateContourData(jvxlDataIs2dContour);
			initializeMesh(true);
			if (!colorByContourOnly)
				applyColorScale(currentMesh);
		}
		else {
			applyColorScale(currentMesh);
		}
		currentMesh.jvxlExtraLine = jvxlExtraLine(1);
		jvxlFileMessage = "mapped: min = " + valueMappedToRed + "; max = " + valueMappedToBlue;
	}