|
@@ -1328,8 +1328,18 @@ void get_coordinates()
|
1328
|
1328
|
void get_arc_coordinates()
|
1329
|
1329
|
{
|
1330
|
1330
|
get_coordinates();
|
1331
|
|
- if(code_seen('I')) offset[0] = code_value();
|
1332
|
|
- if(code_seen('J')) offset[1] = code_value();
|
|
1331
|
+ if(code_seen('I')) {
|
|
1332
|
+ offset[0] = code_value();
|
|
1333
|
+ }
|
|
1334
|
+ else {
|
|
1335
|
+ offset[0] = 0.0;
|
|
1336
|
+ }
|
|
1337
|
+ if(code_seen('J')) {
|
|
1338
|
+ offset[1] = code_value();
|
|
1339
|
+ }
|
|
1340
|
+ else {
|
|
1341
|
+ offset[1] = 0.0;
|
|
1342
|
+ }
|
1333
|
1343
|
}
|
1334
|
1344
|
|
1335
|
1345
|
void prepare_move()
|