public void generateSubSectorMeshForSector(GroupSector sector) {

		clearMeshesOn(sector);
		TriangleMesh mesh = new TriangleMesh("_mesh");
		MeshNode meshDataNode = new MeshNode("_mesh", mesh);
		sector.addChild(meshDataNode);
		GeneralTriangle[] isfs;
		boolean generated;

		for (Direction d : Direction.values()) {

			generated = false;

			// if (foreignLinksInDirection(d, sector) == 0) {
			//
			// isfs = generateQuadFor(d, (SpaceRegion) sector);
			//
			// if (isfs != null) {
			// for (GeneralTriangle isf : isfs) {
			// sector.mesh.faces.add(isf);
			// generated = true;
			// }
			// }
			// }

			for (SceneNode s : sector.getSons()) {

				if (s instanceof GroupSector) {
					generateSubSectorMeshForSector((GroupSector) s);
				} else if (!generated && s instanceof SpaceRegion) {

					if (((Sector) s).links[d.ordinal()] == null) {

						isfs = generateQuadFor(d, (SpaceRegion) s);

						if (isfs != null) {
							for (GeneralTriangle isf : isfs) {
								mesh.faces.add(isf);
							}
						}
					}
				}
			}
		}
	}