found a hackish solution by making this small change in ofMesh.cpp, function ofMesh ofMesh::cylinder( ... ) {
from
float angleIncRadius = -1 * ( TWO_PI/((float)radiusSegments-1.f));
to
float angleIncRadius = -1 * ( (TWO_PI/ divide ) /((float)radiusSegments-1.f));