From acf316d8966509e2b0677c5656d65d52d0378152 Mon Sep 17 00:00:00 2001 From: totalkrill Date: Sat, 8 Oct 2016 16:46:11 +0200 Subject: [PATCH] Fixes: lp:1631613 * https://bugs.launchpad.net/kicad/+bug/1631613 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.10.0" This is a multi-part message in MIME format. --------------2.10.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit --- pcbnew/exporters/export_vrml.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --------------2.10.0 Content-Type: text/x-patch; name="0001-Fixes-lp-1631613.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-Fixes-lp-1631613.patch" diff --git a/pcbnew/exporters/export_vrml.cpp b/pcbnew/exporters/export_vrml.cpp index 7fc0a76..046d4b1 100644 --- a/pcbnew/exporters/export_vrml.cpp +++ b/pcbnew/exporters/export_vrml.cpp @@ -275,10 +275,10 @@ public: // note: the KiCad SceneGraph library uses mm internally // and scales output to VRML UNIT = 0.1 inch so that by // default the output models are compatible with KiCad's - // expectations. This requires us to divide aWorldScale + // expectations. This requires us to multiply aWorldScale // by 2.54 in order to generate the scaling which the // user specified in the Export VRML GUI. - OutputPCB.SetScale( aWorldScale / 2.54 ); + OutputPCB.SetScale( aWorldScale * 2.54); WORLD_SCALE = aWorldScale * 2.54; --------------2.10.0--