Skip to content

Commit

Permalink
fix FS#1416 - Dimension value for drawing unit feet
Browse files Browse the repository at this point in the history
  • Loading branch information
qcad committed Apr 28, 2016
1 parent 8197b99 commit d698aa7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/RUnit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,8 @@ QString RUnit::formatEngineering(double length, RS::Unit unit,

double lengthInch;
if (unit==RS::Foot) {
lengthInch = length * 12;
// 20160428: even if unit is set to feet, the drawing unit is regarded as inches if architectural or engineering:
lengthInch = length /* * 12*/;
}
else {
lengthInch = length;
Expand Down Expand Up @@ -532,7 +533,8 @@ QString RUnit::formatArchitectural(double length, RS::Unit unit,

double lengthInch;
if (unit==RS::Foot) {
lengthInch = length * 12;
// 20160428: even if unit is set to feet, the drawing unit is regarded as inches if architectural or engineering:
lengthInch = length /* * 12*/;
}
else {
lengthInch = length;
Expand Down

0 comments on commit d698aa7

Please sign in to comment.