Commit Graph

12926 Commits

Author SHA1 Message Date
Vojtech Bubnik
4c365ad583 Replaced many defines in libslic3r.h with constexpr,
removed some macros to support old visual studio compiler.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
99514ba42b WIP: AABBTreeIndirect - optimized ray_box_intersect_invdir() test,
sandbox for comparing the AABBTreeIndirect with libigl::AABB
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
2b8f655020 WIP AABBIndirect: Documentation, polishing. 2020-05-22 09:29:21 +02:00
Vojtech Bubnik
eeb9590d28 WIP: own AABBTreeIndirect, builds up the tree 4x quicker than libigl. 2020-05-22 09:29:21 +02:00
Vojtech Bubnik
abf279fc44 Fixed compilation with Shiny profiler. 2020-05-22 09:29:21 +02:00
Lukas Matena
02e345159d Grey out wipe tower related config values when wipe tower is disabled 2020-05-22 09:23:26 +02:00
YuSanka
db32c1f15a Changed processing of a wxEVT_SYS_COLOUR_CHANGED event.
Only UI is updated. The application doesn't recreated now
2020-05-21 17:29:00 +02:00
YuSanka
4348b177d6 Added processing of a wxEVT_SYS_COLOUR_CHANGED event.
Deleted scale from ImGuiWrapper::load_svg(), because it's no needed and it makes icons bad scaled on Retina displays
2020-05-21 14:18:57 +02:00
Lukas Matena
ae7bb123a9 Fix win build 2020-05-21 11:27:47 +02:00
Lukas Matena
35c8c84631 Fix of #3965 (properly disable linear advance with RepRap firmware) 2020-05-21 10:47:50 +02:00
Lukas Matena
a3646f843c Merge branch 'lm_gizmos_improvements' 2020-05-21 10:25:44 +02:00
Lukas Matena
ff0630cad2 FDM supports gizmo: fixed rendering on mirrored objects 2020-05-21 10:25:31 +02:00
Lukas Matena
feb591782f FDM supports gizmo: fixed a crash when trying to paint on the clipping plane 2020-05-21 10:25:31 +02:00
Lukas Matena
9c365da828 Removed immediate OpenGL mode calls in place on face gizmo 2020-05-21 10:25:31 +02:00
Lukas Matena
6e597bb1ee Removed immediate OpenGL mode calls for clipping plane rendering 2020-05-21 10:25:31 +02:00
Lukas Matena
ac8491b599 SLA supports gizmo bugfix: show supports when not in editing mode
The bug was introduced after 2.2.0 release
2020-05-21 10:25:31 +02:00
Lukas Matena
581892cb0d FDM supports gizmo uses neighbor data from stl_file 2020-05-21 10:25:31 +02:00
YuSanka
8afd273c4b Implemented "from/to imperial units conversation" for loaded objects and volumes 2020-05-20 20:07:31 +02:00
YuSanka
0b60d45cf3 Typo fix for the commit fce1943b94 2020-05-19 18:23:39 +02:00
YuSanka
fce1943b94 OSX specific bug fixing 2020-05-19 17:00:41 +02:00
Lukas Matena
d0e0387b82 Merge branch 'lm_fdm_gizmo_experiments' 2020-05-18 16:08:29 +02:00
Lukas Matena
1a38d39f82 FDM supports gizmo: slight code refactoring 2020-05-18 16:08:21 +02:00
Lukas Matena
ed55ebba55 FDM supports gizmo: Further attempts to increase performance when painting 2020-05-18 16:08:21 +02:00
Lukas Matena
e312f3be43 FDM supports gizmo: caching triangle normals in order to increase performance 2020-05-18 16:08:21 +02:00
Lukas Matena
e2ccc6ec0c FDM supports gizmo: trying to increase performance during painting 2020-05-18 16:08:21 +02:00
YuSanka
504066e64b Merge remote-tracking branch 'origin/ys_imperial_unit' 2020-05-18 16:01:10 +02:00
YuSanka
5c142ccfd6 Bug fixing:
OSX specific: 1. For slNew and slDlg settings layout modes main frame could be minimized to the ridicules size.
                 So, set size for the Plater (as a min(default) size for the wxPanel)
              2. model->Clear() invoke wxEVT_DATAVIEW_SELECTION_CHANGED. So, set prevent_list_events before this call.
              3. Added a rounding for the scale value

Fix of #4261 (for the English version was called GetValue for non-created check control)
2020-05-18 15:59:09 +02:00
David Kocik
3f68229f1e Merge branch 'dk_instances' 2020-05-18 08:34:28 +02:00
David Kocik
9ec83d5210 instance check: bux fix in shutdown() - repairs falling at assert when reiniting otherInstanceMessageHandler 2020-05-18 08:33:55 +02:00
YuSanka
5c1d73682d Search: Use wxDataViewCtrl instead of wxListBox.
Added icons as a markers of settings type
For slDlg settings layout mode added process of "Ctrl+F" shortcut
2020-05-15 15:47:15 +02:00
enricoturri1966
9487676680 ENABLE_CANVAS_TOOLTIP_USING_IMGUI set as default 2020-05-15 13:40:45 +02:00
enricoturri1966
b9f0b9eeda ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX set as default 2020-05-15 12:42:29 +02:00
David Kocik
68282aa078 Merge branch 'dk_instances' 2020-05-15 09:36:29 +02:00
David Kocik
69e9805982 Own implementation of lockfile instead of wx on linux/mac. Wx version keeps poping up messege boxes after crash. Own implementation doesnt delete lockfile after use. 2020-05-15 09:34:53 +02:00
David Kocik
65a37ffaa1 single instance check
processing paths with whitespaces
unified lock for all systems - wxInstanceChecker
checking a messaging only for same binaries
2020-05-15 09:34:53 +02:00
tamasmeszaros
ad1c6c29f4 Merge branch 'tm_cmake_pch' 2020-05-14 14:27:42 +02:00
Lukas Matena
ee639a4710 FDM supports gizmo: do not disable slope visualizer when it should stay on 2020-05-14 14:17:20 +02:00
tamasmeszaros
2c3ec346ce Exclude *.m and *.mm Objective-C sources from including pch 2020-05-14 13:40:36 +02:00
tamasmeszaros
63c82ed8c6 Modify PCH script to use builtin cmake function if possible. 2020-05-14 10:50:39 +02:00
tamasmeszaros
2d3a218a07 Change pch to new CMake functions 2020-05-14 10:50:39 +02:00
tamasmeszaros
3cb967327e Merge branch 'tm_reproject_points' 2020-05-13 18:29:06 +02:00
tamasmeszaros
f91c27b2ff Do reprojection also after netfabb repair 2020-05-13 14:53:20 +02:00
tamasmeszaros
f7a43f9757 Reproject support and hole points after a reload from disk op. 2020-05-13 14:53:20 +02:00
enricoturri1966
54925a191e Updated imgui README.md to contain reference to the commit which modify it 2020-05-13 12:31:48 +02:00
enricoturri1966
79101d6e54 Fixed toolbar items reacting when disabled 2020-05-13 12:30:09 +02:00
YuSanka
07f419f62b Fixed a place on tool toolbar for collapse_toolbar_width in respect to its enable 2020-05-12 23:34:08 +02:00
YuSanka
e7f3206250 Auto scale of the toolbars in respect to the canvas size 2020-05-12 23:07:35 +02:00
Lukas Matena
d928d6e47e Hollowing gizmo fix: selection of single holes was recently broken 2020-05-12 14:03:10 +02:00
YuSanka
1b8c7c4976 Added missed include 2020-05-12 09:46:23 +02:00
YuSanka
559f9279d9 Search: 1. The position of the search window is in the middle of the scene.
2. When "Search in English" is checked, then search in English names too.
3. Added score value at the end of option name -> [score_value]
4. Set focus to the Plater, when switch from some tab with focused field to the Plater and search window is shown.
5. For the mode, when settings are in non-modal dialog, neither dialog nor tabpanel doesn't receive wxEVT_KEY_UP event, when some field is selected.
   So, like a workaround we check wxEVT_KEY_UP event for the Filed and switch between tabs if Ctrl+(1-4) was pressed

+ PreferencesDialog: fixed a control of the difference in layout modes
2020-05-12 08:32:54 +02:00