mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 08:22:02 +08:00
More reasonable axes length in 3D preview
This commit is contained in:
parent
11ed3d8cf3
commit
807b0111ed
@ -909,8 +909,8 @@ sub Render {
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
my $origin = $self->origin;
|
||||
my $axis_len = max(
|
||||
0.3 * max(@{ $self->bed_bounding_box->size }),
|
||||
2 * max(@{ $volumes_bb->size }),
|
||||
max(@{ $self->bed_bounding_box->size }),
|
||||
1.2 * max(@{ $volumes_bb->size }),
|
||||
);
|
||||
glLineWidth(2);
|
||||
glBegin(GL_LINES);
|
||||
|
Loading…
x
Reference in New Issue
Block a user