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 #2130: arc is done not as desired
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_SketchEntity.h
diff --git
a/src/SketchPlugin/SketchPlugin_SketchEntity.h
b/src/SketchPlugin/SketchPlugin_SketchEntity.h
index d9f2cec43804291ae4d1bdc9476da88f2542e082..1af4d28bbc9541abccb51ad2672cbaded7bc3f6b 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_SketchEntity.h
+++ b/
src/SketchPlugin/SketchPlugin_SketchEntity.h
@@
-20,11
+20,6
@@
#include <Config_PropManager.h>
#include <Config_PropManager.h>
-#define SKETCH_ENTITY_COLOR "225,0,0"
-#define SKETCH_EXTERNAL_COLOR "170,0,225"
-#define SKETCH_AUXILIARY_COLOR "0,85,0"
-#define SKETCH_OVERCONSTRAINT_COLOR "0,0,0"
-
/**\class SketchPlugin_SketchEntity
* \ingroup Plugins
* \brief Sketch Entity for creation of the new feature in PartSet.
/**\class SketchPlugin_SketchEntity
* \ingroup Plugins
* \brief Sketch Entity for creation of the new feature in PartSet.
@@
-167,6
+162,11
@@
class SketchPlugin_SketchEntity : public SketchPlugin_Feature, public GeomAPI_IC
double aWidth = thePrs->width();
isCustomized = thePrs->setWidth(aWidth / 2.5) || isCustomized;
}
double aWidth = thePrs->width();
isCustomized = thePrs->setWidth(aWidth / 2.5) || isCustomized;
}
+
+ if (!theResult.get()) {
+ double aDeflection = Config_PropManager::real("Visualization", "construction_deflection");
+ thePrs->setDeflection(aDeflection);
+ }
return isCustomized;
}
return isCustomized;
}