Integrate Werners & Jans double branch
Move from float to double Further suggestions for float -> double move Moved Tools2D from float to double More suggestions for float->double move from Gui subdirectory Changes to FEM constraint visuals for float->double move Suggested changes for float -> double move Suggestions for Part module moving float -> double
This commit is contained in:
@@ -86,11 +86,10 @@ bool ViewProviderMirror::setEdit(int ModNum)
|
||||
Part::Mirroring* mf = static_cast<Part::Mirroring*>(getObject());
|
||||
Base::BoundBox3d bbox = mf->Shape.getBoundingBox();
|
||||
float len = (float)bbox.CalcDiagonalLength();
|
||||
Base::Vector3f base = mf->Base.getValue();
|
||||
Base::Vector3f norm = mf->Normal.getValue();
|
||||
Base::Vector3d base = mf->Base.getValue();
|
||||
Base::Vector3d norm = mf->Normal.getValue();
|
||||
Base::Vector3d cent = bbox.CalcCenter();
|
||||
Base::Vector3f cbox((float)cent.x,(float)cent.y,(float)cent.z);
|
||||
base = cbox.ProjToPlane(base, norm);
|
||||
base = cent.ProjToPlane(base, norm);
|
||||
|
||||
// setup the graph for editing the mirror plane
|
||||
SoTransform* trans = new SoTransform;
|
||||
|
||||
Reference in New Issue
Block a user