Keep pointer to PrintConfig instead of copying it.
This commit is contained in:
@@ -23,8 +23,7 @@ class Extruder
|
||||
double retracted;
|
||||
double restart_extra;
|
||||
|
||||
// TODO: maybe better to keep a reference to an existing object than copy it
|
||||
PrintConfig config;
|
||||
PrintConfig *config;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user