358 LDBFC* bfc = InitObject<LDBFC> (obj); |
358 LDBFC* bfc = InitObject<LDBFC> (obj); |
359 if (IsWithin (dlg.rb_bfcType->value(), 0, int (BFCStatement::NumValues) - 1)) |
359 if (IsWithin (dlg.rb_bfcType->value(), 0, int (BFCStatement::NumValues) - 1)) |
360 bfc->setStatement (BFCStatement (dlg.rb_bfcType->value())); |
360 bfc->setStatement (BFCStatement (dlg.rb_bfcType->value())); |
361 } break; |
361 } break; |
362 |
362 |
363 case OBJ_Vertex: |
|
364 { |
|
365 LDVertex* vert = InitObject<LDVertex> (obj); |
|
366 vert->pos.apply ([&](Axis ax, double& value) { value = dlg.dsb_coords[ax]->value(); }); |
|
367 } |
|
368 break; |
|
369 |
|
370 case OBJ_Subfile: |
363 case OBJ_Subfile: |
371 { |
364 { |
372 QString name = dlg.le_subfileName->text(); |
365 QString name = dlg.le_subfileName->text(); |
373 |
366 |
374 if (name.length() == 0) |
367 if (name.length() == 0) |