[TD]clean up from recent preferences/return PRs
This commit is contained in:
@@ -166,7 +166,6 @@ int LandmarkDimension::getRefType() const
|
||||
|
||||
DrawViewPart* LandmarkDimension::getViewPart() const
|
||||
{
|
||||
DrawViewPart* result = nullptr;
|
||||
std::vector<App::DocumentObject*> refs2d = References2D.getValues();
|
||||
App::DocumentObject* obj = refs2d.front();
|
||||
DrawViewPart* dvp = dynamic_cast<DrawViewPart*>(obj);
|
||||
|
||||
@@ -115,7 +115,6 @@ TopoDS_Shape ShapeExtractor::getShapes(const std::vector<App::DocumentObject*> l
|
||||
BRep_Builder builder;
|
||||
TopoDS_Compound comp;
|
||||
builder.MakeCompound(comp);
|
||||
bool found = false;
|
||||
for (auto& s:sourceShapes) {
|
||||
if (s.IsNull()) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user