|
@@ -871,13 +871,15 @@ function updateTransformAction() { |
|
|
|
|
|
function updateTransformValues() {
|
|
|
var current = transformations[transformAction];
|
|
|
- var uniform = $('#transform input[type=radio]:checked').val() == 'yes';
|
|
|
+ var uniform = $('#transform-uniform input[type=radio]:checked').val() == 'yes';
|
|
|
var input = {
|
|
|
x: parseFloat($transformX.val()),
|
|
|
y: parseFloat($transformY.val()),
|
|
|
z: parseFloat($transformZ.val())
|
|
|
};
|
|
|
|
|
|
+ console.log(uniform)
|
|
|
+
|
|
|
input.x = isNaN(input.x) ? current.x : input.x;
|
|
|
input.y = isNaN(input.y) ? current.y : input.y;
|
|
|
input.z = isNaN(input.z) ? current.z : input.z;
|
|
|
0 comments on commit
f8f01d3