Compile Time Changes

In 11.0 part tags no longer add a user category on snappers for visibility. Instead the snappers now iterate over explicit tags and applied tags to add to the layerSet from visibility2D() and visibility3D().

This also means that the part tag categories will no longer be added to the category registry.

rebuildPartTaggingCategories() is now removed since there are no longer any user categories to rebuild.

    /**
     * Visibility 2D.
     * This is a visibility summary over graphs currently produced by the snapper. This is used for visibility filtering on snapper level.
     *
     * If the snapper produces graphs G1, G2, ... GN, with corresponding layer expressions Exp1, Exp2,... ExpN.
     * The returned expression should be equivalent to "or(Exp1, Exp2,... ExpN)".
     */
    extend public LayerExpr visibility2D() {
	if (!layer) {
	    layer = categoryVisibility();

	    if (explicitTags or appliedPartTags.any) layer = or (layer, partTagVisibility());
	    if (chunkId or sectionIdG2) layer = or (layer, collaborationVisibility());
	}

	return layer;
    }

    /**
     * Visibility 3D (similar to visibility 2D)
     */
    extend public LayerExpr visibility3D() {
	if (!layer) {
	    layer = categoryVisibility();

	    if (explicitTags or appliedPartTags.any) layer = or (layer, partTagVisibility());
	    if (chunkId or sectionIdG2) layer = or (layer, collaborationVisibility());
	}

	return layer;
    }