Commit Graph

10033 Commits

Author SHA1 Message Date
e44e8af02a SLA gizmo now allows to deselect a point 2019-04-03 14:44:24 +02:00
b65df6e560 Added call to schedule_background_process() when deleting modifier attribute 2019-04-03 12:45:06 +02:00
3ebc21ebcd Fixed cutting of objects in left oriented coordinate space.
Removed some spurious debugging printf.
2019-04-03 12:07:58 +02:00
5b1a8d6a14 Deliberately setting the SLA dialog a bit too large
It is not possible to precisely calculate actual window size before the rendering, so I added a safety margin.
It would be nicer to let the window autoscale and only use the inflated dimension for possible moving the window upward to prevent collision with the bottom panel, but...
ImGui autoscaling does not work properly for some reason (the window size autoscales only after a mouse move), so this is a workaround.
2019-04-03 10:41:45 +02:00
2c51e432e3 Fixed negative values for size shown in the sidebar matrix fields when mirroring is applied 2019-04-03 09:05:52 +02:00
dd44958d8b Merge remote-tracking branch 'origin/master' into ys_selection 2019-04-03 08:42:12 +02:00
68ba68303b Fixed typo 2019-04-03 08:39:36 +02:00
e78603125b Fixed conflicts after merge with master 2019-04-03 08:38:32 +02:00
c86433271e Fixed update of the SLAPrint back end after mirroring in a specific
case of mirroring around the X axis.
Fixed some asserts on visual studio due to access to empty std::vector
2019-04-02 18:04:23 +02:00
366c6ccd04 Selection improvements
+ "Delete" menu_item for Instances under OSX
2019-04-02 16:33:52 +02:00
79440f42a7 imgui: Fix font size and scaling on Windows 2019-04-02 15:28:14 +02:00
8f1d9b7703 Fixed conflicts after merge with master 2019-04-02 15:13:26 +02:00
5cd1012dab Fixed rendering of sla cap slices after deleting object 2019-04-02 14:43:38 +02:00
53ccd309c9 Fixed conflicts after cherry-picking 5c89135 2019-04-02 14:32:12 +02:00
6881112f3b Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-02 13:54:46 +02:00
99f0207578 Handling of left hand oriented coordinate systems:
is_left_handed() method on transformations and volumes
rendering of GLVolumes in left handed coordinate systems by glFrontFace(GL_CW);
SLA slicing on left hand oriented instances by flipping the mesh for SLAPrintObject in X.
rendering of the SLA cutting plane in left handed systems
resetting the SLA clipping planes on 3D preview invalidation
2019-04-02 13:47:49 +02:00
0d6e57ed0d Fix build 2019-04-02 10:56:30 +02:00
f70df9e73e Follow-up of d4b22cfb87 -> Fixed dragging of sla instances after slicing 2019-04-02 10:55:36 +02:00
e7f991d27b imgui: More refactoring, cut gizmo window positioning 2019-04-02 10:36:24 +02:00
ae2da7d7e4 Firmware updater: Improve logging 2019-04-02 10:33:37 +02:00
4ffa47ee87 Firmware updater: Support for CW1 2019-04-02 10:33:37 +02:00
dd65978498 SLA gizmo uses CallAfter to trigger SLA supports calculation to prevent recursive rendering calls 2019-04-02 09:36:16 +02:00
cf36acde71 SLA gizmo dialog now respects system font settings 2019-04-01 14:51:18 +02:00
98bf41f335 imgui: Refactor font size, font initialization 2019-04-01 14:28:39 +02:00
b440d60d91 Fixed conflicts after merge with master 2019-04-01 14:21:55 +02:00
0123f90225 Fix dragging of mixed instances plus volumes selections 2019-04-01 13:53:48 +02:00
ab972a0251 Merge branch 'tm_reuse_unified' 2019-04-01 12:24:50 +02:00
a374de367f Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-04-01 11:40:08 +02:00
a26faa56cf Fix of No preview of position in variable layer editing UI at retina resolution #2050 2019-04-01 11:08:26 +02:00
b5f9b8859d Added missing include 2019-04-01 10:28:04 +02:00
0f657b772b Camera refactoring
1) All camera related OpenGL calls moved into class

2) The Camera class now stores the view matrix, the projection matrix and the viewport

3) The Camera class now exposes methods to get the camera orientation vectors, the camera position, the view matrix, the projection matrix and the viewport

4) All the code operating on the camera or requiring camera data has been modified to use the new methods
2019-04-01 10:00:10 +02:00
c5e93fe2bb Fix of visual hints for rotation of full single instance selection 2019-04-01 09:11:23 +02:00
521a947b3d Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-04-01 08:28:38 +02:00
e4832bad3f Merging with master for having minz png compression.
Much greater performance boost from better compression algorithm than that from the merged polygons.
2019-03-29 15:21:46 +01:00
10624370e1 imgui: Get font size from wxWidgets, fix #2043 2019-03-29 14:58:32 +01:00
cc66871238 Improved Selection from ObjectList side 2019-03-29 14:36:59 +01:00
156d0c9944 SLA gizmo fix: occasional crashes after deleting objects 2019-03-29 13:38:33 +01:00
331c6b82c1 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-29 12:58:41 +01:00
0c1316d4bc Volumes selected from the sidebar table taken from the currently selected instance 2019-03-29 10:48:20 +01:00
9152ad2a4e Added context menu Item "Change Extruder" on 3D-Scene 2019-03-28 16:32:19 +01:00
270281a601 Some _cosmetic_ fixes :
+ Set wxDEFAULT_DIALOG_STYLE for MsgDialog
+ Changed Msg text before language changing
2019-03-28 16:32:19 +01:00
4e27e57750 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-28 09:30:23 +01:00
e2ad83fa92 Small refactoring -> GLGizmosManager gets model from selection and not from canvas 2019-03-28 09:30:01 +01:00
994cb3a5b9 Merge remote-tracking branch 'remotes/origin/tm_sla_png_minz' 2019-03-28 09:14:37 +01:00
fd9fd3ec0c Layers editing initialized only for 3D view and not for g-code preview 2019-03-28 09:12:32 +01:00
5b53dd164d Selection enabled only for 3D view and not for g-code preview 2019-03-28 08:44:46 +01:00
61ea6037fd Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-03-28 08:24:25 +01:00
770b731c2c Fix of SPE-879 and #2021 2019-03-27 17:00:29 +01:00
0cd8f8ff79 Follow-up of 8ea8eb67e4, utf-8 path conversion moved into nanosvg library 2019-03-27 15:42:01 +01:00
77b5600339 Added #define glcheck() for the case HAS_GLSAFE not defined 2019-03-27 15:14:40 +01:00