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
Issue #18451: Error in dump by coordinates
[modules/shaper.git]
/
src
/
SketcherPrs
/
SketcherPrs_Transformation.cpp
diff --git
a/src/SketcherPrs/SketcherPrs_Transformation.cpp
b/src/SketcherPrs/SketcherPrs_Transformation.cpp
index 53be1f2fe30673992c093ddbadd1b7c8bfebf3a9..82e375f0f989fc0b401f1006eff3d8eb9373f12d 100644
(file)
--- a/
src/SketcherPrs/SketcherPrs_Transformation.cpp
+++ b/
src/SketcherPrs/SketcherPrs_Transformation.cpp
@@
-48,9
+48,11
@@
SketcherPrs_Transformation::SketcherPrs_Transformation(ModelAPI_Feature* theCons
}
bool SketcherPrs_Transformation::IsReadyToDisplay(ModelAPI_Feature* theConstraint,
}
bool SketcherPrs_Transformation::IsReadyToDisplay(ModelAPI_Feature* theConstraint,
- const std::shared_ptr<GeomAPI_Ax3>&
/* thePlane*/
)
+ const std::shared_ptr<GeomAPI_Ax3>&
thePlane
)
{
bool aReadyToDisplay = false;
{
bool aReadyToDisplay = false;
+ if (!thePlane)
+ return aReadyToDisplay;
std::shared_ptr<ModelAPI_Data> aData = theConstraint->data();
// Get transformated objects list
std::shared_ptr<ModelAPI_Data> aData = theConstraint->data();
// Get transformated objects list