[TD]fix unhelpful warning message

This commit is contained in:
wandererfan
2026-02-18 18:34:08 -05:00
parent b0e11e286b
commit ba24ab8a49
+4 -2
View File
@@ -418,8 +418,10 @@ void QGIViewPart::drawAllEdges()
showItem = formatGeomFromCenterLine(cTag, item);
}
else {
Base::Console().message("QGIVP::drawVP - cosmetic edge: %d is confused - source: %d\n",
iEdge, static_cast<int>(source));
// there are 3 source types (GEOMETRY, COSMETICEDGE, CENTERLINE). Something broke if we
// get here for for an edge that claims to be cosmetic.
Base::Console().warning("In %s, cosmetic edge: %d is neither COSMETICEDGE nor CENTERLINE - actual source type: %d\n",
dvp->Label.getValue(), iEdge, static_cast<int>(source));
}
} else {
// geometry edge - apply format if applicable