File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sourceCode/application/logic/model/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ bool S_ProfilsBoxParameters::fromQJsonObject(const QJsonObject &qJsonObj) {
408408 // - boxId >= 0
409409 // - oddPixelLength and oddPixelWidth are odd
410410 // - oddPixelLength >= 3
411- // - oddPixelWidth >= 1
411+ // - oddPixelWidth >= 3
412412 // - normalize unitVectorDirection if not normalized (usefull in case of human file edition)
413413 // - idxSegmentOwnerOfCenterPoint exist or not.
414414 // . if does not exist => set it to -1, indicating that the box will be unmovable (human edition)
@@ -440,7 +440,7 @@ bool S_ProfilsBoxParameters::fromQJsonObject(const QJsonObject &qJsonObj) {
440440 bool bLength_equalOrGreaterThanThree = (oddPixelLength >= 3.0 );
441441
442442 bool bWidthIsEven = bCheckDoubleIsEven (oddPixelWidth);
443- bool bEvenWidth_equalOrGreaterThanOne = (oddPixelWidth >= 1 .0 );
443+ bool bEvenWidth_equalOrGreaterThanOne = (oddPixelWidth >= 3 .0 );
444444
445445 if (bLengthIsEven || bWidthIsEven) {
446446 return (false );
You can’t perform that action at this time.
0 commit comments