Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
maurhofer-ubique committed Jan 24, 2024
1 parent dddb780 commit c5edfc6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -882,14 +882,6 @@ void Tiled2dMapVectorSymbolObject::collisionDetection(const double zoomIdentifie
}
}

if (persistingSymbolPlacement) {
if (!willCollide && !outside && zoomIdentifier < smallestVisibleZoom) {
smallestVisibleZoom = zoomIdentifier;
} else if (willCollide && (largestCollisionZoom == -1 || zoomIdentifier > largestCollisionZoom)) {
largestCollisionZoom = zoomIdentifier;
}
}

if (!outside) {
setHideFromCollision(willCollide);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ class Tiled2dMapVectorSymbolObject {
int customTextureOffset = 0;
std::string stringIdentifier;

double smallestVisibleZoom = 999;
double largestCollisionZoom = -1;

private:
double lastZoomEvaluation = -1;
void evaluateStyleProperties(const double zoomIdentifier);
Expand Down

0 comments on commit c5edfc6

Please sign in to comment.