public void deselect() {
		if (selectedNode instanceof Shape3D) {
			((Shape3D) selectedNode).setAppearance(selectedAppearance);
		} else if (selectedNode instanceof Primitive) {
			((Primitive) selectedNode).setAppearance(selectedAppearance);
		}
		selected = null;
		selectedNode = null;
		selectedAppearance = null;
	}