mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 06:45:58 +08:00
Follow-up of c9520eda6246734953dbd68a100d464519faacf1 - Fixed missing #endif
This commit is contained in:
parent
c9520eda62
commit
aa254e7bd4
@ -647,8 +647,7 @@ bool Transformation::has_skew() const
|
|||||||
{
|
{
|
||||||
return contains_skew(m_matrix);
|
return contains_skew(m_matrix);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
#if !ENABLE_TRANSFORMATIONS_BY_MATRICES
|
|
||||||
void Transformation::set_from_transform(const Transform3d& transform)
|
void Transformation::set_from_transform(const Transform3d& transform)
|
||||||
{
|
{
|
||||||
// offset
|
// offset
|
||||||
@ -686,7 +685,7 @@ void Transformation::set_from_transform(const Transform3d& transform)
|
|||||||
// if (!m_matrix.isApprox(transform))
|
// if (!m_matrix.isApprox(transform))
|
||||||
// std::cout << "something went wrong in extracting data from matrix" << std::endl;
|
// std::cout << "something went wrong in extracting data from matrix" << std::endl;
|
||||||
}
|
}
|
||||||
#endif // !ENABLE_TRANSFORMATIONS_BY_MATRICES
|
#endif // ENABLE_TRANSFORMATIONS_BY_MATRICES
|
||||||
|
|
||||||
void Transformation::reset()
|
void Transformation::reset()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user