Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In SALOME mode the tool tip info defined in XML should be shown in Status tip of...
[modules/shaper.git]
/
src
/
SketcherPrs
/
SketcherPrs_Rigid.cpp
diff --git
a/src/SketcherPrs/SketcherPrs_Rigid.cpp
b/src/SketcherPrs/SketcherPrs_Rigid.cpp
index 71122d431a4e0df0030e417815e0cf9bd60c23c8..082ab5cfc6bfde3476b3d6461ce1a7a623069b91 100644
(file)
--- a/
src/SketcherPrs/SketcherPrs_Rigid.cpp
+++ b/
src/SketcherPrs/SketcherPrs_Rigid.cpp
@@
-41,10
+41,7
@@
SketcherPrs_Rigid::SketcherPrs_Rigid(ModelAPI_Feature* theConstraint,
const std::shared_ptr<GeomAPI_Ax3>& thePlane)
: SketcherPrs_SymbolPrs(theConstraint, thePlane)
{
const std::shared_ptr<GeomAPI_Ax3>& thePlane)
: SketcherPrs_SymbolPrs(theConstraint, thePlane)
{
- // Set default points array
- myPntArray = new Graphic3d_ArrayOfPoints(1);
- myPntArray->AddVertex(0., 0., 0.);
-}
+}
bool SketcherPrs_Rigid::IsReadyToDisplay(ModelAPI_Feature* theConstraint,
const std::shared_ptr<GeomAPI_Ax3>& thePlane)
bool SketcherPrs_Rigid::IsReadyToDisplay(ModelAPI_Feature* theConstraint,
const std::shared_ptr<GeomAPI_Ax3>& thePlane)
@@
-68,7
+65,7
@@
bool SketcherPrs_Rigid::IsReadyToDisplay(ModelAPI_Feature* theConstraint,
return aReadyToDisplay;
}
return aReadyToDisplay;
}
-bool SketcherPrs_Rigid::update
Points
(double theStep) const
+bool SketcherPrs_Rigid::update
IfReadyToDisplay
(double theStep) const
{
if (!IsReadyToDisplay(myConstraint, myPlane))
return false;
{
if (!IsReadyToDisplay(myConstraint, myPlane))
return false;