Browse Source

Update vector_3.cpp

Fix the regression for G29 J in UBL
Roxy-3D 3 years ago
parent
commit
154decfc66
No account linked to committer's email address
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/libs/vector_3.cpp

+ 3
- 3
Marlin/src/libs/vector_3.cpp View File

104
   //row_1.debug(PSTR("row_1"));
104
   //row_1.debug(PSTR("row_1"));
105
   //row_2.debug(PSTR("row_2"));
105
   //row_2.debug(PSTR("row_2"));
106
   matrix_3x3 new_matrix;
106
   matrix_3x3 new_matrix;
107
-  new_matrix.vectors[0].x = row_0.x; new_matrix.vectors[1].y = row_0.y; new_matrix.vectors[2].z = row_0.z;
108
-  new_matrix.vectors[3].x = row_1.x; new_matrix.vectors[4].y = row_1.y; new_matrix.vectors[5].z = row_1.z;
109
-  new_matrix.vectors[6].x = row_2.x; new_matrix.vectors[7].y = row_2.y; new_matrix.vectors[8].z = row_2.z;
107
+  new_matrix.vectors[0] = row_0;
108
+  new_matrix.vectors[1] = row_1;
109
+  new_matrix.vectors[2] = row_2;
110
   //new_matrix.debug(PSTR("new_matrix"));
110
   //new_matrix.debug(PSTR("new_matrix"));
111
   return new_matrix;
111
   return new_matrix;
112
 }
112
 }

Loading…
Cancel
Save