mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-12 08:02:46 +02:00
Fixed build when ENABLE_MODELVOLUME_TRANSFORM is disabled
This commit is contained in:
1 parent
85597a4039
commit
00ec33ef16
1 file changed
+1
-1
@@ -1242,7 +1242,7 @@ void ModelInstance::transform_polygon(Polygon* polygon) const
|
||||
}
|
||||
|
||||
#if !ENABLE_MODELVOLUME_TRANSFORM
|
||||
Transform3d ModelInstance::world_matrix(bool dont_translate, bool dont_rotate, bool dont_scale, bool dont_mirror) const
|
||||
Transform3d ModelInstance::get_matrix(bool dont_translate, bool dont_rotate, bool dont_scale, bool dont_mirror) const
|
||||
{
|
||||
Vec3d translation = dont_translate ? Vec3d::Zero() : m_offset;
|
||||
Vec3d rotation = dont_rotate ? Vec3d::Zero() : m_rotation;
|
||||
|
||||
Reference in new issue
Block a user