From 68c2edbb512987b0d7d3f9cf92df88ce0ccb4132 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 1 Aug 2012 11:01:22 +0000 Subject: [PATCH] fix geometry scaling factor --- Common/Options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Options.cpp b/Common/Options.cpp index 65f8012fd6..e8b3f4d2ed 100644 --- a/Common/Options.cpp +++ b/Common/Options.cpp @@ -4102,7 +4102,7 @@ double opt_geometry_extrude_return_lateral(OPT_ARGS_NUM) double opt_geometry_scaling_factor(OPT_ARGS_NUM) { if(action & GMSH_SET) - CTX::instance()->geom.scalingFactor = (int)val; + CTX::instance()->geom.scalingFactor = val; return CTX::instance()->geom.scalingFactor; } -- GitLab