Part: remove trailing whitespace

This commit is contained in:
luz paz
2022-11-15 14:51:24 -05:00
committed by Chris Hennes
parent a6133a583a
commit 6e542b6fad
174 changed files with 757 additions and 757 deletions

View File

@@ -56,7 +56,7 @@ using namespace PartGui;
PROPERTY_SOURCE(PartGui::ViewProviderCurveNet,PartGui::ViewProviderPart)
ViewProviderCurveNet::ViewProviderCurveNet()
: bInEdit(false),bMovePointMode(false),EdgeRoot(nullptr),VertexRoot(nullptr)
{
@@ -86,8 +86,8 @@ void ViewProviderCurveNet::attach(App::DocumentObject *pcFeat)
SoSeparator* ModeRoot = new SoSeparator();
EdgeRoot = new SoSeparator();
ModeRoot->addChild(EdgeRoot);
EdgeRoot->addChild(pcLineStyle);
EdgeRoot->addChild(pcLineMaterial);
EdgeRoot->addChild(pcLineStyle);
EdgeRoot->addChild(pcLineMaterial);
// setup the root and material for the vertexes
VertexRoot = new SoSeparator();
@@ -225,7 +225,7 @@ bool ViewProviderCurveNet::handleEvent(const SoEvent * const ev, Gui::View3DInve
VertexRoot->addChild(TransRoot);
NodeList.push_back(n);
return true;
}
}
@@ -246,7 +246,7 @@ bool ViewProviderCurveNet::handleEvent(const SoEvent * const ev, Gui::View3DInve
// const SoLocation2Event * const event = (const SoLocation2Event *) ev;
if (bMovePointMode && Viewer.pickPoint(pos,point,norm) ){
PointToMove.pcTransform->translation.setValue(point);
PointToMove.pcTransform->translation.setValue(point);
return true;
}
}
@@ -263,8 +263,8 @@ Standard_Boolean ViewProviderCurveNet::computeEdges(SoSeparator* root, const Top
SoSeparator *EdgeRoot = new SoSeparator();
root->addChild(EdgeRoot);
EdgeRoot->addChild(pcLineStyle);
EdgeRoot->addChild(pcLineMaterial);
EdgeRoot->addChild(pcLineStyle);
EdgeRoot->addChild(pcLineMaterial);
for (ex.Init(myShape, TopAbs_EDGE); ex.More(); ex.Next())
{
@@ -314,7 +314,7 @@ Standard_Boolean ViewProviderCurveNet::computeVertices(SoSeparator* root, const
for (ex.Init(myShape, TopAbs_VERTEX); ex.More(); ex.Next())
{
// get the shape
// get the shape
const TopoDS_Vertex& aVertex = TopoDS::Vertex(ex.Current());
gp_Pnt gpPt = BRep_Tool::Pnt (aVertex);