Commit Graph

997 Commits

Author SHA1 Message Date
bubnikv
f4243c694f Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-31 15:09:23 +01:00
bubnikv
c82d346c1a Fixed a bug in initialization of some StaticPrintConfig derived classes.
Merged implementation of support for "Octoprint-Cancelobject" #972
thanks @supermerill
2019-01-31 15:09:16 +01:00
Enrico Turri
fb6ef1d20f Keeps modifier transparent while layer editing tool is enabled 2019-01-31 14:25:11 +01:00
Enrico Turri
8076b39c4b Emulation of kill focus event on object manipulator fields when changing selection into objects list [WIN+LINUX] 2019-01-31 14:12:07 +01:00
Enrico Turri
5fa5d495bb Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-31 13:32:47 +01:00
YuSanka
1605c23e25 Updated KBShortcutsDialog 2019-01-31 13:21:33 +01:00
Enrico Turri
035ef9cb23 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-31 13:19:46 +01:00
Enrico Turri
81c621716b User mode-aware toolbar items 2019-01-31 13:19:26 +01:00
Enrico Turri
85f7d28c6f Added call to _set_current() into GLCanvas3D::on_mouse() 2019-01-31 10:50:16 +01:00
bubnikv
2d3da7ef33 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-31 09:37:38 +01:00
bubnikv
f1470966a5 glsafe macro to test for the glGetError in debug mode 2019-01-31 09:37:27 +01:00
Enrico Turri
0a72a4e7ad GLCanvas3D -> added call _set_current() to method accessing GPU memory 2019-01-31 09:15:43 +01:00
bubnikv
991632add5 GLCanvas3d::on_render(): if not intialized yet,
Call render directly, so it gets initialized immediately, not from On Idle handler.
2019-01-30 19:48:26 +01:00
bubnikv
7dbda0243e Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-30 19:02:43 +01:00
bubnikv
ed9a924880 Added missing GL context "Set Current" calls before loading data
into vertex buffers.

Changed behavior of Canvas3D::on_render() to postpone rendering to idle,
as on OSX the paint events happen directly from control updates,
if the control update triggers Canvas3D window rescaling. With this change,
rendering only happens from idle handler consistently.
2019-01-30 19:02:30 +01:00
YuSanka
a5ec951180 Added menu item for the "Fix through the Netfabb" 2019-01-30 16:27:33 +01:00
Enrico Turri
3deeab90f3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 16:19:59 +01:00
bubnikv
eec289961a Removed Microsoft specific _DEBUG flag from the Unix systems.
Made condional compilation of assert code based on #ifndef NDEBUG
instead of #ifdef _DEBUG to compile on Unix systems.
2019-01-30 15:27:11 +01:00
YuSanka
5a28693ff4 Updated draw_colored_band() according to the new colors.
+ some code refactoring
2019-01-30 14:45:18 +01:00
Enrico Turri
168c3010fa Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 14:09:18 +01:00
YuSanka
7957675a97 Fix to my last commit 2019-01-30 13:26:16 +01:00
Enrico Turri
fd65489c11 Added debug output to test event handling sequence between Objects List and Object Manipulator fields 2019-01-30 12:18:01 +01:00
Enrico Turri
883e09fbcd Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 12:16:49 +01:00
bubnikv
35cef67ee5 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-30 12:10:38 +01:00
bubnikv
460cf820af Some optimizations of the color print preview. 2019-01-30 12:10:26 +01:00
YuSanka
411c02fef3 Implemented object/part renaming under OSX, using popup_menu 2019-01-30 11:35:37 +01:00
YuSanka
b6852d8bf2 Fixed first binding for "Split to parts" menu item in ObjectList 2019-01-30 10:06:10 +01:00
Enrico Turri
3aa9435c80 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 10:03:22 +01:00
Enrico Turri
19c1fc0b3f Hide slicing results after Delete All command 2019-01-30 10:00:38 +01:00
bubnikv
d30676ceee Merge remote-tracking branch 'remotes/origin/ys_color_print' 2019-01-30 09:29:55 +01:00
Enrico Turri
414ea1a86e Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 08:27:52 +01:00
bubnikv
7bfc60e805 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-29 18:08:02 +01:00
bubnikv
57bd0889c3 Disabled the experimental pressure equalizer. 2019-01-29 18:07:45 +01:00
Vojtech Kral
f7529dbef5 Tab: Update print host address and cafile properly, fix #1687 2019-01-29 17:11:07 +01:00
Enrico Turri
ed71f2ccd7 Fix of #1713 2019-01-29 16:11:53 +01:00
YuSanka
e291172e24 Implemented "Color Print" for preview mode (without re-slicing) 2019-01-29 15:11:29 +01:00
Enrico Turri
803062e787 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-29 15:11:25 +01:00
bubnikv
2c9a98b22f Renamed Open / Save to Open Project / Save Project 2019-01-29 14:44:10 +01:00
Enrico Turri
f9ea977d86 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-29 14:34:13 +01:00
bubnikv
4464fcc9d2 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-29 13:36:35 +01:00
bubnikv
e35124b627 Fix of 1.42.0.alpha2 BUG ** Printer choosing bug #1588 2019-01-29 13:36:23 +01:00
Enrico Turri
4776ad786f Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-29 12:09:01 +01:00
Enrico Turri
b47355a325 Added limit to zoom in 2019-01-29 12:05:49 +01:00
Enrico Turri
83b09bffb7 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-29 11:33:55 +01:00
Enrico Turri
14fe55d4b8 Fix of rotations using sidebar fields 2019-01-29 11:26:35 +01:00
bubnikv
c973500ee6 Support for a numeric input with both dot and comma
as a valid decimal separator.

Fixes Česká verze hustota filamentu #1705
2019-01-29 10:21:21 +01:00
bubnikv
46709c92cd Fix of OcctoPrint using Post Processor does not work #1731 2019-01-29 08:57:00 +01:00
Enrico Turri
6137cc48eb ENABLE_IMPROVED_SIDEBAR_OBJECTS_MANIPULATION set as default 2019-01-28 16:06:44 +01:00
Enrico Turri
1c0bc8a5f3 Fixed synchronization between Objects List and Object manipulator table 2019-01-28 15:50:02 +01:00
Enrico Turri
cdd415bb0c Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-28 12:49:41 +01:00
Enrico Turri
727884d327 Fixed synchronization of scale/size fields in sidebar for single volume and single full instance selection 2019-01-28 12:49:19 +01:00
YuSanka
b0ecf07e9b Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-28 12:19:28 +01:00
YuSanka
c5152d04f8 Set options value from edited preset instead of default preset, when call "Add Settings"
+ added code for custom editing of the frequently used settings bundle (it's commented for this moment)
+ some code refactoring
2019-01-28 12:13:53 +01:00
Lukas Matena
ddcb2b1c23 Fixed a crash caused by double-free on application close event (Linux) 2019-01-28 12:12:26 +01:00
bubnikv
4a5cff3ee2 Reverted the slow auto arrangement of objects on loading.
(made configurable, once it is sped up, it will be re-enabled)
2019-01-28 10:56:02 +01:00
bubnikv
3e0ef05386 Merge remote-tracking branch 'remotes/origin/objects_centering' 2019-01-28 10:25:41 +01:00
Enrico Turri
6f25a933b6 Removed check of max rotation close to zero in GLCanvas3D::Selection::rotate() 2019-01-28 09:59:22 +01:00
Enrico Turri
7c6572025d Fixed bed centering when changing printer with preview active 2019-01-28 09:06:14 +01:00
Enrico Turri
1550ee0e2b Merge branch 'objects_centering' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-28 08:53:46 +01:00
bubnikv
66ecdf61ec FIx of the previous commit 2019-01-28 08:53:02 +01:00
bubnikv
bb0cf221bc WIP synchronization of Z rotation of the instances 2019-01-28 08:52:22 +01:00
Enrico Turri
c2d34cea89 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-28 08:38:24 +01:00
bubnikv
588c07c12a Performance improvements:
Lazy "Place on face" gizmo update.
Caching of MeshObject::raw_mesh_bounding_box() for the object size display.
ModelObject::bounding_box(), raw_mesh_bounding_box(), full_raw_mesh_bounding_box() will not copy the mesh.
TriangleMesh::transformed_bounding_box(const Transform3d &trafo) will not copy the mesh data.
get_options_for_bundle() will not return reference to temp value
is_splittable() calls cheap mesh.has_multiple_patches()
2019-01-26 18:51:34 +01:00
bubnikv
302a51f6cb Merge remote-tracking branch 'remotes/origin/tm_autoplacement' 2019-01-26 13:32:47 +01:00
bubnikv
241283d956 Merge remote-tracking branch 'remotes/origin/vk-bugfixes' 2019-01-26 13:10:58 +01:00
YuSanka
4dfcd49869 Added missing include 2019-01-25 17:21:45 +01:00
YuSanka
9a01e313ad Implemented function create_freq_settings_popupmenu()
to add bundles with frequently used settings
2019-01-25 16:57:44 +01:00
YuSanka
5a7061a7fb Updated settings menu according to the view mode
+ Created new class PrusaMenu, derived from wxMenu and contains pointers to the separators.
2019-01-25 16:57:44 +01:00
Enrico Turri
03f186c002 Merge branch 'objects_centering' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 15:16:33 +01:00
bubnikv
708a14c228 Fix of instance synchronization. It seems to be working, but one may
want to review the center of rotation of the instances when rotating
around a general axis (zero component of the rotation axis in the world Z).
2019-01-25 14:56:41 +01:00
Enrico Turri
9f734a073f Disable active gizmo as soon as the selection is cleared by clicking on the scene out of any object 2019-01-25 14:55:20 +01:00
Enrico Turri
8abae757d3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 13:31:56 +01:00
Enrico Turri
5581830ab8 Fixed import of objects greater than print bed (range (5 < 10000) times) 2019-01-25 13:30:01 +01:00
Enrico Turri
348aa48121 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 11:50:34 +01:00
Enrico Turri
be1d9c693c Free camera rotation for sla printer 2019-01-25 11:35:28 +01:00
YuSanka
9b8cdb95dc Updated view mode for object_list and object_menu 2019-01-25 10:57:13 +01:00
bubnikv
dbcf800353 Yet another compilation fix on OSX 2019-01-25 09:57:08 +01:00
Enrico Turri
3b90629d85 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 09:10:26 +01:00
bubnikv
ee87d73916 Fixed compilation on Linux. 2019-01-25 09:06:49 +01:00
Enrico Turri
a8437f3ebb Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 08:43:25 +01:00
bubnikv
ceea83720a Fixed build on OSX & Linux 2019-01-25 08:37:06 +01:00
Enrico Turri
16bd7325c1 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 08:29:15 +01:00
Vojtech Kral
2159273a1e Mac: Retina OpenGL: Fix toolbar mouse hover 2019-01-24 20:03:12 +01:00
Vojtech Kral
7d30323f46 Mac: Retina OpenGL: Fix imgui windows, right-click menu, misc 2019-01-24 20:03:12 +01:00
Vojtech Kral
3df1ed8f6b Mac: Retina OpenGL: Fix ImGui font switch, dynamic switching, toolbar fixes 2019-01-24 20:03:12 +01:00
Vojtech Kral
d1c569dd57 Mac: Implement Retina for the 3D scene, fix #97 2019-01-24 20:03:12 +01:00
Vojtech Kral
24d736f736 PrintHostDialogs: Disable smart substitutions on Mac 2019-01-24 19:58:16 +01:00
bubnikv
e1abd1256c Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-24 19:09:06 +01:00
bubnikv
49487c16e6 Improvements of the triangulation of SLA layer preview. 2019-01-24 19:08:58 +01:00
Enrico Turri
d086bafb39 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 15:58:40 +01:00
Enrico Turri
d82cacf1d8 Removed debug code committed by mistake 2019-01-24 15:57:53 +01:00
Enrico Turri
752a5b25f4 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 15:52:28 +01:00
Enrico Turri
43beaf46d8 Deactivate layers editing tool if user selects more than one object 2019-01-24 15:50:06 +01:00
YuSanka
54bd2e55c7 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-24 15:40:54 +01:00
YuSanka
10641f7e9c Improved application recreation after language change 2019-01-24 15:32:50 +01:00
YuSanka
6044be7793 Fixed sidebar layouting after a creation of the App 2019-01-24 12:11:01 +01:00
Enrico Turri
270a57c14c Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 11:38:57 +01:00
Enrico Turri
a406a44946 Sidebar object manipulation fields updated on idle event 2019-01-24 11:37:58 +01:00
Enrico Turri
589e8e0f23 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 10:54:21 +01:00
Enrico Turri
aea6681adf Fixed visual hints orientation for sidebar rotation fields and single full instance selection 2019-01-24 10:52:48 +01:00