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
Object Browser tree needed method implementation
[modules/shaper.git]
/
src
/
SketcherPrs
/
SketcherPrs_PositionMgr.cpp
diff --git
a/src/SketcherPrs/SketcherPrs_PositionMgr.cpp
b/src/SketcherPrs/SketcherPrs_PositionMgr.cpp
index 1e8a9ee7d6a14629b86a7a1839c0f45745570a18..ec7938b89abfd58c7fdf66432b34ca550ae76a9d 100644
(file)
--- a/
src/SketcherPrs/SketcherPrs_PositionMgr.cpp
+++ b/
src/SketcherPrs/SketcherPrs_PositionMgr.cpp
@@
-107,7
+107,7
@@
gp_Pnt SketcherPrs_PositionMgr::getPosition(ObjectPtr theShape,
// Odd position
aP.Translate(-aShift);
if (aPos > 1) {
- if (
aPos
% 4 == 0)
+ if (
(aPos - 1)
% 4 == 0)
aM = (aPos - 1) / 4;
else
aM = -(aPos + 1) / 4;