#3868 Annotations. Remove commented code

This commit is contained in:
Bjørn Erik Jensen
2018-12-14 15:34:18 +01:00
parent 8401e3d9f0
commit c575e1d29e

View File

@@ -144,22 +144,11 @@ void RivPolylineAnnotationPartMgr::buildPolylineAnnotationParts(const caf::Displ
cvf::GeometryUtils::createSphere(sphereRadius, 15, 15, &builder);
vectorDrawable->setGlyph(builder.trianglesUShort().p(), builder.vertices().p());
//cvf::ref<cvf::DrawableGeo> drawableGeo = RivPolylineGenerator::createPointsFromPolylineDrawable(linesInDisplay);
cvf::ref<cvf::Part> part = new cvf::Part;
part->setName("RivPolylineAnnotationPartMgr");
//part->setDrawable(drawableGeo.p());
part->setDrawable(vectorDrawable.p());
//caf::MeshEffectGenerator effgen(lineColor);
//effgen.setLineWidth(lineThickness);
//if (isDashedLine) effgen.setLineStipple(true);
//cvf::ref<cvf::Effect> eff = effgen.generateCachedEffect();
part->setEffect(new cvf::Effect());
//part->setEffect(eff.p());
part->setPriority(RivPartPriority::PartType::MeshLines);
cvf::ref<RivPolylinesAnnotationSourceInfo> sourceInfo = new RivPolylinesAnnotationSourceInfo(rimAnnotation);