Skip to content

Commit c7cff50

Browse files
committed
fix the scalebar multiplier #1368
1 parent 4d9a58a commit c7cff50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Interface/Modules/Render/ViewScene.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ SCIRun::Graphics::Datatypes::GeometryHandle ViewSceneDialog::buildGeometryScaleB
10561056
//text
10571057
std::stringstream ss;
10581058
std::string oneline;
1059-
ss << scaleBar_.length << " " << scaleBar_.unit;
1059+
ss << scaleBar_.length * scaleBar_.multiplier << " " << scaleBar_.unit;
10601060
oneline = ss.str();
10611061
double text_len = 0.0;
10621062
if (textBuilder_.isInit() && textBuilder_.isValid())

0 commit comments

Comments
 (0)