mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
Translate Model class' storage to C++.
Some code copied from xs-model branch. Also: * Generate ::Ref classes programatically. * Add separate __REGISTER_CLASS macro (for use where forward declaration won't work, i.e. typedefs)
This commit is contained in:
parent
c72dc13d7e
commit
05b2993769
20 changed files with 1048 additions and 218 deletions
|
@ -151,7 +151,7 @@ sub init_print {
|
|||
$model->center_instances_around_point($print->config->print_center);
|
||||
foreach my $model_object (@{$model->objects}) {
|
||||
$print->auto_assign_extruders($model_object);
|
||||
$print->add_model_object($model_object);
|
||||
$print->add_model_object($model, $model_object);
|
||||
}
|
||||
}
|
||||
$print->validate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue