Commit Graph

12903 Commits

Author SHA1 Message Date
82cedcd870 FDM supports gizmo: caching triangle normals in order to increase performance 2020-05-18 16:08:21 +02:00
d3a8bf98f0 FDM supports gizmo: trying to increase performance during painting 2020-05-18 16:08:21 +02:00
ebf38282ae Merge remote-tracking branch 'origin/ys_imperial_unit' 2020-05-18 16:01:10 +02:00
00d2c14e4f 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
484318958e Merge branch 'dk_instances' 2020-05-18 08:34:28 +02:00
2ef07b9043 instance check: bux fix in shutdown() - repairs falling at assert when reiniting otherInstanceMessageHandler 2020-05-18 08:33:55 +02:00
9170ab7d6e 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
af9b363e41 ENABLE_CANVAS_TOOLTIP_USING_IMGUI set as default 2020-05-15 13:40:45 +02:00
8d6e5de10d ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX set as default 2020-05-15 12:42:29 +02:00
3ed8f303a3 Merge branch 'dk_instances' 2020-05-15 09:36:29 +02:00
c1a25dff5a 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
c3f0ef7a84 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
6823d70722 Merge branch 'tm_cmake_pch' 2020-05-14 14:27:42 +02:00
647eace7ca FDM supports gizmo: do not disable slope visualizer when it should stay on 2020-05-14 14:17:20 +02:00
eeb0cc7cb8 Exclude *.m and *.mm Objective-C sources from including pch 2020-05-14 13:40:36 +02:00
fd827ef46b Modify PCH script to use builtin cmake function if possible. 2020-05-14 10:50:39 +02:00
dfecf6e685 Change pch to new CMake functions 2020-05-14 10:50:39 +02:00
1ada15bc9e Merge branch 'tm_reproject_points' 2020-05-13 18:29:06 +02:00
e117eb4780 Do reprojection also after netfabb repair 2020-05-13 14:53:20 +02:00
638e526f67 Reproject support and hole points after a reload from disk op. 2020-05-13 14:53:20 +02:00
3efabc5fb7 Updated imgui README.md to contain reference to the commit which modify it 2020-05-13 12:31:48 +02:00
c36271de2d Fixed toolbar items reacting when disabled 2020-05-13 12:30:09 +02:00
d949c43817 Fixed a place on tool toolbar for collapse_toolbar_width in respect to its enable 2020-05-12 23:34:08 +02:00
41a696032e Auto scale of the toolbars in respect to the canvas size 2020-05-12 23:07:35 +02:00
6ed277954a Hollowing gizmo fix: selection of single holes was recently broken 2020-05-12 14:03:10 +02:00
421756e153 Added missed include 2020-05-12 09:46:23 +02:00
41cecd67d9 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
bab02bc9b8 Merge branch 'lm_fdm_custom_supports_polishing' 2020-05-11 17:03:43 +02:00
61f8600e03 Merge branch 'master' into lm_fdm_custom_supports_polishing 2020-05-11 17:03:03 +02:00
4387b43767 FDM supports gizmo: the cursor does not stick to the cut when clipping plane is used 2020-05-11 16:59:51 +02:00
f4b2d89716 FDM supports gizmo fix: make sure that slope visualizer is off when turning off the gizmo 2020-05-11 16:59:43 +02:00
9e8f7d2efb Slope visualiser angle inverted
It showed facet normal angle in the GUI, now it shows slope angle (90 deg complement). This change was made to unify it with threshold angle in Print Settings.
2020-05-11 16:57:40 +02:00
3c5ddd30c9 Fix missing support mini sticks 2020-05-11 14:07:21 +02:00
bef0e5007c Search: 1.Select first item in the search list by default
2. Show "Search in English" checkbox only, when Slicer is localized
3. Suppress search window hiding when leave the 3D-scene
2020-05-07 21:53:17 +02:00
5cc6967c49 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-05-07 16:47:28 +02:00
b16837e136 Fix for tooltip not disappearing when loading an object using the top toolbar 'Add' command and when swithing to preview 2020-05-07 16:47:15 +02:00
cee3d798eb Layouts:
1. Fixed crash on OSX after change of the settings layout (PreferencesDialog should be destroyed before call of recreate_GUI)
2. Fixed dialog message during GUI recreation
3. In PreferencesDialog changed radio buttons view (under OSX they were bold)
4. slDlg mode - fixed switching between main frame and settings dialog (dialog->SetFocus() doesn't work under OSX, so we just hide it and show again)
2020-05-07 15:37:18 +02:00
50ff18195d Fix cmake error on unixes 2020-05-07 12:46:37 +02:00
718ab63247 Fix openvdb not being found in win when only release build is present 2020-05-07 10:49:05 +02:00
0bb1fb558b avoid calling GetHeight() on non-IsOk() icons
probably fixes #3837
2020-05-07 09:48:44 +02:00
fce639567e Link errors in debug build affect windows as well 2020-05-07 09:42:48 +02:00
ba30c21472 deps: fix ZLIB being built after its needed 2020-05-07 09:42:11 +02:00
23944f5ea6 Fixed a can_change_view() function in respect to the new settings layouts 2020-05-07 09:14:31 +02:00
497a7ab2d7 Hotfix for debug builds with new wxWidgets in deps 2020-05-07 07:38:40 +02:00
ba71189925 Added missed include for the OSX build 2020-05-06 21:29:51 +02:00
f5bb831c7b Search:
1. To the imGui Dialog added icons instead of settings type
2. Fixed a search trough the options with # symbol in opt_key
3. Deleted "Type" checkbox from the Search Windows and added "Search in English" checkbox (but without implementation for this moment)

Layouts:
1. Fixed a visibility of the "Switch to Settings" toolbar icon for the old layout mode
2020-05-06 20:51:50 +02:00
8990aeed44 Changed the Ironing G-code preview color based on Jindra's feedback. 2020-05-06 18:28:23 +02:00
5703f31d96 Improvements of the monotonous infill ordering:
Calculate the initial path length and set the initial pheromone level
accordingly.
Implemented a stopping criterion to ant colony optimization.
Fixed some compilation warnings.
2020-05-06 18:28:23 +02:00
bd92fa60f2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-05-06 15:15:31 +02:00
e6dd803d4a Added missing include 2020-05-06 14:48:40 +02:00