From 0f9b195ad818fe06a58875562a1c060625aed057 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Sun, 28 Oct 2018 22:16:01 -0500 Subject: [PATCH] Setting width as doubles instead of ints. --- src/plot.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plot.cpp b/src/plot.cpp index b5661e39da..d9da266521 100644 --- a/src/plot.cpp +++ b/src/plot.cpp @@ -330,10 +330,10 @@ void ObjectPlot::set_width() { // Copy plotting width - std::vector pl_width; + std::vector pl_width; if (PLOT_TYPE::SLICE == type) { if (node_word_count(_plot_node, "width") == 2) { - pl_width = get_node_array(_plot_node, "width"); + pl_width = get_node_array(_plot_node, "width"); width[0] = pl_width[0]; width[1] = pl_width[1]; } else { @@ -344,7 +344,7 @@ ObjectPlot::set_width() } } else if (PLOT_TYPE::VOXEL == type) { if (node_word_count(_plot_node, "width") == 3) { - pl_width = get_node_array(_plot_node, "width"); + pl_width = get_node_array(_plot_node, "width"); width[0] = pl_width[0]; width[1] = pl_width[1]; width[2] = pl_width[2];