Commit Graph
100 Commits
Author SHA1 Message Date
Enrico Turri f651182101 Rendering of camera target (for debug) and modified camera target behavior 2018-10-26 09:50:28 +02:00
Enrico Turri 321322b17a Fixed rendering of warning and legend textures (due to newer wxWidgets) 2018-10-25 15:32:35 +02:00
Enrico Turri e72a058600 Fixed update of GUI when object is selected by right-clicking on it to show its context menu 2018-10-25 12:36:10 +02:00
Enrico Turri c00ee0659e Call schedule_background_process() after rotating/scaling/flattening using gizmos 2018-10-25 12:10:35 +02:00
Enrico Turri 30fe846158 Do not translate selection if user press Shift while selecting and then drags 2018-10-25 11:06:08 +02:00
Enrico Turri 30a130e014 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-25 10:37:04 +02:00
Enrico Turri bde5f17d5c Fixed build on Linux and OSx 2018-10-25 10:36:47 +02:00
Enrico Turri 61f7849fce Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-25 09:35:26 +02:00
Enrico Turri 78d813cbc9 Tooltip when hovering on gizmo icons 2018-10-25 09:35:08 +02:00
Enrico Turri 77d6ebc126 Rotate gizmo -> Grabbers showing tooltip also on hover for single instance selection. 2018-10-24 14:12:33 +02:00
Enrico Turri 17b7a3b9d7 Scale gizmo -> Grabbers showing tooltip also on hover for single instance selection. 2018-10-24 13:56:43 +02:00
Enrico Turri 9b3e3ec967 Move gizmo -> 1) Grabbers showing tooltip also on hover for single instance selection. 2) Tooltip showing current position for single instance selection. 2018-10-24 13:28:35 +02:00
Enrico Turri 90ecbce9bb Split to objects and Split to parts 2018-10-24 12:55:38 +02:00
Enrico Turri 37e4f69e3b Fixed memory leak in GLToolbar 2018-10-24 10:55:35 +02:00
Enrico Turri 8940209865 Fixed menu view accelerator keys 2018-10-24 10:46:18 +02:00
Enrico Turri 9a4a41acbf New selection -> Fixed selection cleanup in GLCanvas3D::reset_volumes() 2018-10-23 11:50:30 +02:00
Enrico Turri 4c527776e7 Fixed memory leak in Tab::add_options_page() 2018-10-23 11:44:46 +02:00
Enrico Turri 6d5d4e7c24 Fixed exception when closing Slic3r 2018-10-23 09:48:01 +02:00
Enrico Turri 1979ba0e0f New selection -> Keep selection after instance inscrease/decrease command 2018-10-23 09:19:41 +02:00
Enrico Turri 75e3b3a9b8 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-22 15:19:33 +02:00
Enrico Turri 2f11df47ce Layers editing 2018-10-22 15:18:56 +02:00
Enrico Turri 2a2d1d85f8 Added mirror factors to .3mf import and enabled import factors 2018-10-22 13:27:53 +02:00
Enrico Turri 126f0e5073 Added mirroring factors to .amf import/export 2018-10-22 11:45:03 +02:00
Enrico Turri 68f77f1031 New selection -> Changed selection logic == Use SHIFT for both add to selection and remove from selection 2018-10-22 08:54:04 +02:00
Enrico Turri 5d94e6adb8 New selection -> Improved sychronization of instances selection between 3D scene and right panel 2018-10-19 16:14:55 +02:00
Enrico Turri cc5405e84d Replaced dummy string in CheckboxFileDialog::ExtraPanel 2018-10-19 15:35:39 +02:00
Enrico Turri 0af4de4faa New selection -> Split command 2018-10-19 15:27:19 +02:00
Enrico Turri 42a77316ba Planes of gizmo flatten visible from both sides 2018-10-19 13:26:42 +02:00
Enrico Turri bcffa8dbe2 New selection -> Fixed scale gizmo when mirror components are enabled 2018-10-19 11:24:27 +02:00
Enrico Turri d7f013ba19 Fixed euler angles in gizmo flatten 2018-10-19 09:32:10 +02:00
Enrico Turri fbbe1325b6 Mirror transform components in ModelInstance and GLvolume - WIP and disabled 2018-10-18 15:50:51 +02:00
Enrico Turri 2c9a82e582 New selection -> Removed unneeded methods and small refactor 2018-10-18 15:09:41 +02:00
Enrico Turri ea7216c019 Unified append_submenu() function and modified append_menu_item() function 2018-10-18 14:42:21 +02:00
Enrico Turri 82ec5bf22e New selection -> Unified methods to update menu items 2018-10-18 09:27:37 +02:00
Enrico Turri 143c23c54a New selection -> Force volume selection when right clicking to get the object context menu 2018-10-18 08:51:06 +02:00
Enrico Turri 23123cac2e Increase and decrease command in object's context menu 2018-10-17 14:26:13 +02:00
Enrico Turri 2e274b5646 Plater -> View Menu 2018-10-17 12:59:58 +02:00
Enrico Turri 7d1828df05 Object context menu wip / Removed links to settings dialog from user interface / Fixed and unified append_menu_item() function / Fixed File->Open menu item / Fixed Window menu items / Added Plater menu 2018-10-17 12:17:25 +02:00
Enrico Turri 3059438853 Fixed toolbar update after reducing instances count 2018-10-17 09:40:04 +02:00
Enrico Turri b8ec71ab28 New selection -> Removed old plater selection 2018-10-17 09:30:07 +02:00
Enrico Turri b4a09d3d86 New selection -> Toolbar update 2018-10-16 16:04:19 +02:00
Enrico Turri af4570741c New selection -> Improved gizmos activation 2018-10-16 14:56:35 +02:00
Enrico Turri a8c459696f New selection -> Tighter bounding box for selections, tweaks to gizmo flatten and fix of instances update 2018-10-16 13:49:40 +02:00
Enrico Turri 059ab4a05c ModelInstance's full 3D transform set as default 2018-10-16 09:51:30 +02:00
Enrico Turri adf739cd45 Simplified algorithm for update of gizmo move and scale 2018-10-15 15:21:37 +02:00
Enrico Turri 27fd49d459 New selection -> Improved gizmo scale rendering and behavior 2018-10-15 13:22:36 +02:00
Enrico Turri f2486bd87d New selection -> Gizmos methods refactored to accept selection instead of bounding box and scale gizmo in local system for single instance selections 2018-10-15 11:30:50 +02:00
Enrico Turri 35c7c418e9 Small refactoring into GLGizmoBase::Grabber 2018-10-12 16:18:37 +02:00
Enrico Turri 76052d33bf New selection -> scaling wip 2018-10-12 15:43:29 +02:00
Enrico Turri 59208d79be Modified rendering of gizmo scale 3D 2018-10-12 14:23:34 +02:00
Enrico Turri 9bb93cc4f4 Added helper functions to extract euler angles from 3d transforms 2018-10-12 12:19:57 +02:00
Enrico Turri aa0c3bf2e3 Added helper functions to generate 3d transforms 2018-10-12 10:09:16 +02:00
Enrico Turri 6563cff246 New selections -> allow all three rotations for single instance selection 2018-10-11 10:56:25 +02:00
Enrico Turri bb2000d094 Simplified OpenGL calls 2018-10-11 10:52:50 +02:00
Enrico Turri e201c5123c added method: static GUI::GLCanvas3D* _3DScene::get_canvas(wxGLCanvas* canvas) 2018-10-11 10:24:19 +02:00
Enrico Turri 3bccb3b97c Extended interface for selections 2018-10-11 08:26:12 +02:00
Enrico Turri 3e5e72dafc New selection -> changed calculation of euler angles for multivolume rotations 2018-10-10 13:51:11 +02:00
Enrico Turri 6d33077564 New selection -> synchronization of indirectly selected instances 2018-10-10 11:04:04 +02:00
Enrico Turri 895bdf7918 New selection -> rotation wip 2018-10-09 15:56:34 +02:00
Enrico Turri dffae0aa12 Fixed new selection compile errors 2018-10-09 09:12:38 +02:00
Enrico Turri b788530056 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-09 09:08:06 +02:00
Enrico Turri 47fc109837 New selection -> removed select by parts 2018-10-09 09:07:49 +02:00
Enrico Turri 99fe5761d8 New selection -> removed obsolete parameters from GLVolumeCollection::load_object() 2018-10-08 16:05:55 +02:00
Enrico Turri 9ae6d115a2 New selection -> removed obsolete methods\n+\nFixed a few compile warnings 2018-10-08 15:17:36 +02:00
Enrico Turri 384cfa0e6d 1st installment of new selections (disabled) 2018-10-08 14:02:12 +02:00
Enrico Turri 04e193011c Fixed crash when selecting object 2018-10-08 09:08:42 +02:00
Enrico Turri 96745e12d7 Use an unique opengl context 2018-10-04 10:41:11 +02:00
Enrico Turri b3c09a9254 Fixed object position after loading 2018-10-03 16:18:23 +02:00
Enrico Turri 6369e469c0 on_viewport_changed event handler 2018-10-03 14:25:35 +02:00
Enrico Turri 46efaf6791 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-03 14:08:44 +02:00
Enrico Turri 2d77d51f84 Merge branch 'dev2' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-03 13:38:57 +02:00
Enrico Turri e9d26d1a8e Fixed wxWidgets warnings due to invalid alignement flags at startup 2018-10-02 14:30:01 +02:00
Enrico Turri 7977bce98d Fixed call to reset_legend_texture() made on hidden canvas 2018-10-02 14:12:23 +02:00
Enrico Turri 01ba59158d Multisample detection 2018-10-02 14:01:22 +02:00
Enrico Turri 025fdc1359 Fixed #1244 - c++ part 2018-09-26 11:24:19 +02:00
Enrico Turri 51cf964b51 Reduced count of opengl draw calls for full 3D transform 2018-09-25 12:15:51 +02:00
Enrico Turri a651f5f5d7 ModelInstance full 3D transform code moved into a single technology 2018-09-25 10:42:11 +02:00
Enrico Turri 197600d452 Test.pm modified to use ModelInstance full 3D transform 2018-09-25 09:21:38 +02:00
Enrico Turri 0e1843a871 1st installment of ModelInstance 3D scale components 2018-09-24 15:54:09 +02:00
Enrico Turri e3d44b07fe Fixed arrange for objects with 3D rotations 2018-09-24 15:21:18 +02:00
Enrico Turri 270341300f Code cleanup 2018-09-24 10:28:52 +02:00
Enrico Turri 1026a9c817 Tweaks to flatten gizmo 2018-09-24 10:19:40 +02:00
Enrico Turri c5e56911f4 Fixed memory leak in is_splittable_object() 2018-09-21 14:21:08 +02:00
Enrico Turri 8cea821c6a Dimensions of scale on rotate gizmo as function of object size 2018-09-21 13:44:38 +02:00
Enrico Turri 99e90f2bfb Enhanced fix of #1229 - c++ part 2018-09-21 12:46:20 +02:00
Enrico Turri a079f2a34e Fixed import of rotations from 3mf files 2018-09-21 10:18:56 +02:00
Enrico Turri 07274589a3 1st installment of ModelInstance 3D rotation components 2018-09-20 15:00:40 +02:00
Enrico Turri f1e0dc2dd7 Ignore mouse up event after double click on gizmos grabbers 2018-09-20 09:50:49 +02:00
Enrico Turri c9acd1252a reset transformation components to their default value by double clicking on gizmos' grabbers 2018-09-19 15:39:54 +02:00
Enrico Turri 5f587eb362 Fixed colors of extrusion paths 2018-09-19 14:11:36 +02:00
Enrico Turri e695164451 Merge branch 'gui_preview_to_cpp' of https://github.com/prusa3d/Slic3r into dev2 2018-09-19 09:00:29 +02:00
Enrico Turri e79b0a2f25 Code cleanup 2018-09-19 08:59:11 +02:00
Enrico Turri 9daae9413a Perl version of preview removed from Slic3r 2018-09-18 16:13:18 +02:00
Enrico Turri abdaaf6ede Method Preview::load_print() ported to c++ 2018-09-18 15:50:52 +02:00
Enrico Turri e3e5948982 1st installment of preview ported in c++ 2018-09-18 13:35:05 +02:00
Enrico Turri a97df55592 Temporary remove not yet supported transformations from 3D gizmos 2018-09-11 12:40:42 +02:00
Enrico Turri 4479c5444a 1st installment of gizmo move 3D 2018-09-11 09:00:28 +02:00
Enrico Turri 781df150a1 Added perl callback for gizmo flatten 2018-09-10 14:10:08 +02:00
Enrico Turri 1516c46d0b Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-09-10 13:49:25 +02:00
Enrico Turri 78bc688a7f Fixed compile on Linux 2018-09-10 13:48:35 +02:00