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
Fix pipe to avoid moving of the path, if it is passed through the first face.
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_ConstraintDistance.h
diff --git
a/src/SketchPlugin/SketchPlugin_ConstraintDistance.h
b/src/SketchPlugin/SketchPlugin_ConstraintDistance.h
index e9e4b1501329863f3161ddb006fe920b4b63dedb..c3f5118c4a24f1b755557c43d16aa0578e61536d 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_ConstraintDistance.h
+++ b/
src/SketchPlugin/SketchPlugin_ConstraintDistance.h
@@
-65,6
+65,13
@@
class SketchPlugin_ConstraintDistance : public SketchPlugin_ConstraintBase
return MY_SIGNED;
}
return MY_SIGNED;
}
+ /// attribute name of dimension location type
+ inline static const std::string& LOCATION_TYPE_ID()
+ {
+ static const std::string MY_LOCATION_TYPE_ID("LocationType");
+ return MY_LOCATION_TYPE_ID;
+ }
+
/// \brief Creates a new part document if needed
SKETCHPLUGIN_EXPORT virtual void execute();
/// \brief Creates a new part document if needed
SKETCHPLUGIN_EXPORT virtual void execute();