6352 Commits

Author SHA1 Message Date
Jonathan Wakely
c8ccc1a38e Do not undefine __STRICT_ANSI__
The `__STRICT_ANSI__` macro is defined by the compiler and it's undefined to undefine or redefine it.

Using `-U__STRICT_ANSI__ -std=c++11` is just silly. If you don't want strict mode, don't ask for strict mode. Certainly don't ask for strict mode and then undefined the macro that is defined by strict mode.

The correct solution is `-std=gnu++11` which doesn't define the macro in the first place.
2020-06-07 19:56:34 -05:00
Joseph Lenox
54a31eed20 Slic3r::Log: Add multiline flag to all of the stream interfaces with a default so that the stream can be reused w/o outputting the header information again and again (but still get treated properly for purposes of topic) 2020-01-27 00:19:45 -06:00
Joseph Lenox
44455c8cb4 Fix util script to work when TRAVIS_BRANCH is unset. 2019-12-05 20:55:24 -06:00
Joseph Lenox
c2aa7e7b3b std::move here inhibits copy elison, remove. 2019-12-04 19:58:40 -06:00
Joseph Lenox
510ba4eda4 Call repair() before trying to export object (because it tries to generate shared vertices and that method is apparently fragile). 2019-12-04 19:58:20 -06:00
Joseph Lenox
a829b0f98a Fix usage of quoted string io 2019-12-04 18:57:11 -06:00
Michael Kirsch
adea0d90ab call stdlib's abs - this fixes failing 32-bit build 2019-12-01 23:52:36 -06:00
Michael Kirsch
306944dccd more precision, appveyor? 2019-12-01 23:52:36 -06:00
Michael Kirsch
04e2cd39a0 apply object's transformation instead of translation 2019-12-01 23:52:36 -06:00
Michael Kirsch
4745d13955 rework the former property origin_translation 2019-12-01 23:52:36 -06:00
Michael Kirsch
c2580bd02e don't always center, only align to ground 2019-12-01 23:52:36 -06:00
Michael Kirsch
d157dc7ef6 differenciate between plater and model object 2019-12-01 23:52:36 -06:00
Michael Kirsch
89929de599 individual scales should determined along rows 2019-12-01 23:52:36 -06:00
Michael Kirsch
bf4223aa26 don't apply the inverse scale twice 2019-12-01 23:52:36 -06:00
Michael Kirsch
fe171e9646 fix test name 2019-12-01 23:52:36 -06:00
Michael Kirsch
2199d7f99c rewrite transform_bb 2019-12-01 23:52:36 -06:00
Michael Kirsch
852fb80555 fix transform by instance, also make it take potentially different additional trafos into account 2019-12-01 23:52:36 -06:00
Michael Kirsch
794b3a1419 move matrix decomposition to instance class 2019-12-01 23:52:36 -06:00
Michael Kirsch
5aa8d8e748 shift indices, set from 0 2019-12-01 23:52:36 -06:00
Michael Kirsch
73a2560252 Trafo class description 2019-12-01 23:52:36 -06:00
Michael Kirsch
880a00e421 revert loops test 2019-12-01 23:52:36 -06:00
Michael Kirsch
76152fd5fa whitespace 2019-12-01 23:52:36 -06:00
Michael Kirsch
00b836b3da reinstate old testing plus transformation test 2019-12-01 23:52:36 -06:00
Michael Kirsch
ad7a1696f0 reinstate direct mesh manipulation 2019-12-01 23:52:36 -06:00
Michael Kirsch
65f34b838a implement preservation of transformations to reload function 2019-12-01 23:52:36 -06:00
Michael Kirsch
79c4ee16e1 kind of expose the transformation object to perl 2019-12-01 23:52:36 -06:00
Michael Kirsch
83c98871ba change tests according to new class 2019-12-01 23:52:36 -06:00
Michael Kirsch
89ed376553 expose mesh transform cloning to perl 2019-12-01 23:52:36 -06:00
Michael Kirsch
a9a14225b2 add property to options 2019-12-01 23:52:36 -06:00
Michael Kirsch
7a16ec96de wording 2019-12-01 23:52:36 -06:00
Michael Kirsch
6f88bcd7b4 rename property 2019-12-01 23:52:36 -06:00
Michael Kirsch
23e141b1d7 dialog shows independantly from additional part/mod status 2019-12-01 23:52:36 -06:00
Michael Kirsch
cf4900f5c8 adapt reload dialog for new option 2019-12-01 23:52:36 -06:00
Michael Kirsch
29d3e46736 move the main reload to after the dialog 2019-12-01 23:52:36 -06:00
Michael Kirsch
587629ac80 fix UI prompt 2019-12-01 23:52:36 -06:00
Michael Kirsch
e91d0ba623 fix transformations, attached to volume now 2019-12-01 23:52:36 -06:00
Michael Kirsch
e2af4865a2 add undo op for face-to-face rotation 2019-12-01 23:52:36 -06:00
Michael Kirsch
88160aebc8 fix missing instance declaration 2019-12-01 23:52:36 -06:00
Michael Kirsch
e7f7acf2f7 recalculate volume only if determinante != 1 2019-12-01 23:52:36 -06:00
Michael Kirsch
fa45426ac0 change undo / redo stack to use generic transformations if possible 2019-12-01 23:52:36 -06:00
Michael Kirsch
0b1f831f65 make generic transformation public 2019-12-01 23:52:36 -06:00
Michael Kirsch
5bce2597e7 add internal trafo for undo stack 2019-12-01 23:52:36 -06:00
Michael Kirsch
c8a9ffc96b cleanup commented / deleted code Part 1 2019-12-01 23:52:36 -06:00
Michael Kirsch
956b7e1222 reenable mesh and 3mf tests 2019-12-01 23:52:36 -06:00
Michael Kirsch
c7afa5c578 fix functions called inside testing 2019-12-01 23:52:36 -06:00
Michael Kirsch
e755634c21 add transform function to perl interface 2019-12-01 23:52:36 -06:00
Michael Kirsch
fb418b6c60 recalculate voume on transformation 2019-12-01 23:52:36 -06:00
Michael Kirsch
08e8bd1b7d update skipping code 2019-12-01 23:52:36 -06:00
Michael Kirsch
e98038801a add trafo interactability to perl binding 2019-12-01 23:52:36 -06:00
Michael Kirsch
d42914a285 fix tests with what is available in instance 2019-12-01 23:52:36 -06:00