aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyrja <mikko@3d-system.fi>2019-08-22 11:21:52 +0300
committersyrja <mikko@3d-system.fi>2019-08-22 11:21:52 +0300
commitf4d3670932d5cc20c19b76de66a93eb4a508b51f (patch)
treea80240c49c5382a897e193824f145cc3844928b0
parent40b74ae2545969c993f8ad7c92647cec663862b0 (diff)
downloadsymedit-f4d3670932d5cc20c19b76de66a93eb4a508b51f.tar.gz
symedit-f4d3670932d5cc20c19b76de66a93eb4a508b51f.zip
Fixed percentage scaling in symbol loading.
-rw-r--r--symbol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/symbol.cpp b/symbol.cpp
index 4f09fde..1af5764 100644
--- a/symbol.cpp
+++ b/symbol.cpp
@@ -103,7 +103,7 @@ void SymEditSymbol::Load(const QString& buffer)
{
size = string.mid(1).toDouble();
unit = (type == 'P' ? 2 : (size < 0.0 ? 1 : 0));
- size = fabs(size) * (type == 'P' ? 10.0 : 1.0);
+ size = fabs(size) * (type == 'P' ? 0.1 : 1.0);
}
else if ( type == 'G' )
angle = value;