mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 02:52:10 +00:00
Use ->ptr() for CoolingBuffer too
This commit is contained in:
@@ -972,7 +972,7 @@ sub write_gcode {
|
||||
}
|
||||
print $fh $buffer->append(
|
||||
$layer_gcode->process_layer($layer, [$copy]),
|
||||
$layer->object."",
|
||||
$layer->object->ptr,
|
||||
$layer->id,
|
||||
$layer->print_z,
|
||||
);
|
||||
@@ -1005,7 +1005,7 @@ sub write_gcode {
|
||||
foreach my $layer (@{ $layers{$print_z}[$obj_idx] // [] }) {
|
||||
print $fh $buffer->append(
|
||||
$layer_gcode->process_layer($layer, $layer->object->_shifted_copies),
|
||||
$layer->object . ref($layer), # differentiate $obj_id between normal layers and support layers
|
||||
$layer->object->ptr . ref($layer), # differentiate $obj_id between normal layers and support layers
|
||||
$layer->id,
|
||||
$layer->print_z,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user