mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 20:35:56 +08:00
Don't rescale mesh in POV export
This commit is contained in:
parent
68acf19c09
commit
56334c49ac
@ -58,11 +58,6 @@ POV::write(TriangleMesh& mesh, std::string output_file)
|
|||||||
{
|
{
|
||||||
TriangleMesh mesh2 = mesh;
|
TriangleMesh mesh2 = mesh;
|
||||||
mesh2.center_around_origin();
|
mesh2.center_around_origin();
|
||||||
{
|
|
||||||
Sizef3 size = mesh2.bounding_box().size();
|
|
||||||
coordf_t maxdim = fmax(size.x, fmax(size.y, size.y));
|
|
||||||
mesh2.scale(10.0/maxdim);
|
|
||||||
}
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
ofstream pov;
|
ofstream pov;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user