Commit b16cbaed authored by Ivica Bukvic's avatar Ivica Bukvic Committed by Albert Gräf

Fixed regression from the plot fixes that broke non-plot scalars. TODO: check...

Fixed regression from the plot fixes that broke non-plot scalars. TODO: check if non-plot scalar matrix needs to be tweaked...
parent f3267866
......@@ -3512,7 +3512,11 @@ function gui_scalar_new(cid, tag, isselected, t1, t2, t3, t4, t5, t6,
transform_string = "translate(" + 0 +
"," + (t6+1) + ") scale(" + t1 + "," + t4 + ")";
//post("transform_string = " + transform_string);
break;
break;
default:
// we are a non-plot scalar
matrix = [t1,t2,t3,t4,t5,t6];
break;
}
}
else {
......@@ -3533,6 +3537,10 @@ function gui_scalar_new(cid, tag, isselected, t1, t2, t3, t4, t5, t6,
"," + (t6+1) + ") scale(" + t1 + "," + t4 + ")";
//post("transform_string = " + transform_string);
break;
default:
// we are a non-plot scalar
matrix = [t1,t2,t3,t4,t5,t6];
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment