//GLOBAL.shapePack.ZOOM = ((float) GLOBAL.applet.height) / 390f;
for (int i = 0; i < this.getSlicePlanesY().size(); i++) {
SlicePlane slicePlane = this.getSlicePlanesY().get(i);
if (!slicePlane.guide) {
spShape shape = slicePlane.getspShape();
shape.shapePack = GLOBAL.shapePack; //hacky
shape.build();
shape.setLabel(((char) ('A' + i)) + "");
shape.linkedObject = slicePlane;
GLOBAL.shapePack.add(shape);
}
}
for (int i = 0; i < this.slicePlanesSlatSlices.size(); i++) {
SlicePlane slicePlane = this.slicePlanesSlatSlices.get(i);
if (!slicePlane.guide) {
spShape shape = slicePlane.getspShape();
shape.shapePack = GLOBAL.shapePack; //hacky
shape.build();
shape.setLabel("" + (i + 1));
shape.linkedObject = slicePlane;
GLOBAL.shapePack.add(shape);
}
}
GLOBAL.shapePack.scaleAll(SETTINGS.scale);