Commit Graph

5637 Commits

Author SHA1 Message Date
Vojtech Kral
99e45c5613 Fix build 2018-10-17 15:37:35 +02:00
Enrico Turri
59627a1eb2 Increase and decrease command in object's context menu 2018-10-17 14:26:13 +02:00
Vojtech Kral
264eb95399 Refactor window position & size persistence
in a way that is hopefully robust wrt. platform quirks
2018-10-17 14:09:18 +02:00
Enrico Turri
58cbc736e9 Plater -> View Menu 2018-10-17 12:59:58 +02:00
Enrico Turri
de1a811167 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
bubnikv
18199b33f0 WIP: Reconstruction of background processing update timer,
added unique IDs to the Model / ModelObject / ModelVolume objects,
added a copy of Model hierarchy at the Print,
WIP: new Print::apply() method to update the Print's copy of Model,
to update the Print's PrintObjects, to update status of the Print and
PrintObjects, and to possibly stop the background processing.
2018-10-17 11:12:38 +02:00
Enrico Turri
d8a0351abe Fixed toolbar update after reducing instances count 2018-10-17 09:40:04 +02:00
Enrico Turri
50096be76a New selection -> Removed old plater selection 2018-10-17 09:30:07 +02:00
YuSanka
a5fcc0493c Changed logic of the PrusaObjectDataViewModelNode:
now each node has:
          * name,
          * type,
          * id (-1, if type == itSettings OR itInstanceRoot),
          * bmp,
          * action_bmp
          * extruder
2018-10-16 16:46:35 +02:00
Enrico Turri
023ac242b3 New selection -> Toolbar update 2018-10-16 16:04:19 +02:00
Enrico Turri
8996c0afef New selection -> Improved gizmos activation 2018-10-16 14:56:35 +02:00
Vojtech Kral
984190d9e9 Fix build on non-MSVC 2018-10-16 13:57:11 +02:00
Enrico Turri
3756533cea 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
069be62c6f ModelInstance's full 3D transform set as default 2018-10-16 09:51:30 +02:00
YuSanka
ab85521ac5 Fixed assert "IsVisible(item)" failed in wxTreeCtrl::GetNextVisible() 2018-10-15 17:18:38 +02:00
Vojtech Kral
811d918146 Build improvements: symlink resources properly with Visual Studio
Convert dependencies into a CMake build script in the `deps` dir
2018-10-15 16:47:15 +02:00
Enrico Turri
8fcd39abf8 Simplified algorithm for update of gizmo move and scale 2018-10-15 15:21:37 +02:00
YuSanka
bad3098057 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-15 13:31:30 +02:00
YuSanka
0722a3419b Fixed wxASSERT( variant.GetType() == PrusaDataViewBitmapText ); 2018-10-15 13:25:22 +02:00
Enrico Turri
52aa8b8773 New selection -> Improved gizmo scale rendering and behavior 2018-10-15 13:22:36 +02:00
YuSanka
4868faf06b Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-15 11:40:51 +02:00
YuSanka
a32aed3019 Fixed OSX compilation : GetStringSelection for PresetComboBox is changed to GetString(GetSelection) 2018-10-15 11:39:48 +02:00
Enrico Turri
334b2e4675 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
YuSanka
34b7247d41 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-15 10:54:20 +02:00
YuSanka
7f5bf1718e Ported Plater->on_config_change 2018-10-15 10:53:47 +02:00
Enrico Turri
d83a1865b5 Small refactoring into GLGizmoBase::Grabber 2018-10-12 16:18:37 +02:00
Enrico Turri
b49b4c522e New selection -> scaling wip 2018-10-12 15:43:29 +02:00
Enrico Turri
76d36051b0 Modified rendering of gizmo scale 3D 2018-10-12 14:23:34 +02:00
Enrico Turri
36c9ec289b Added helper functions to extract euler angles from 3d transforms 2018-10-12 12:19:57 +02:00
YuSanka
8289aebb4d Added correct deleting of the selected objects(parts, mix)
but only in "ObjectList->Scene" direction
2018-10-12 12:00:37 +02:00
Vojtech Kral
f6d6bba121 Fix resources dir location, add wxWidgets to Windows deps build script 2018-10-12 11:37:05 +02:00
Enrico Turri
167d63c98b Added helper functions to generate 3d transforms 2018-10-12 10:09:16 +02:00
YuSanka
643b1e7a7c Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-11 16:17:43 +02:00
YuSanka
6672eeb1b7 Added extended selection ObjectList -> to canvas3D 2018-10-11 16:13:23 +02:00
Vojtech Kral
f3e7ad29d4 Plater: Fix arrange 2018-10-11 13:22:36 +02:00
Vojtech Kral
f5b56b5716 Plater: increase, decrease, set_number_of_copies, arrange 2018-10-11 12:48:35 +02:00
Enrico Turri
73990c2bc4 New selections -> allow all three rotations for single instance selection 2018-10-11 10:56:25 +02:00
Enrico Turri
63c0ab74ee Simplified OpenGL calls 2018-10-11 10:52:50 +02:00
Enrico Turri
8d91b99cc0 added method: static GUI::GLCanvas3D* _3DScene::get_canvas(wxGLCanvas* canvas) 2018-10-11 10:24:19 +02:00
Enrico Turri
62899a7b08 Extended interface for selections 2018-10-11 08:26:12 +02:00
YuSanka
64691696ad Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-10 16:23:35 +02:00
YuSanka
cdc105ad7c Changed mode of the OblectList to Multiple selection 2018-10-10 16:22:20 +02:00
Vojtech Kral
78fe72e320 Plater: Fix in load_model_objects 2018-10-10 14:43:47 +02:00
YuSanka
de0d3d608f Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-10 13:54:56 +02:00
YuSanka
590232ea55 Ported on_extruders_change and filament_color_box_lmouse_down(like a lambda-f inside PresetComboBox) 2018-10-10 13:53:45 +02:00
Enrico Turri
b43e4c7112 New selection -> changed calculation of euler angles for multivolume rotations 2018-10-10 13:51:11 +02:00
Vojtech Kral
a8cf100054 Plater: on_object_select 2018-10-10 11:21:37 +02:00
Enrico Turri
8852a2ac21 New selection -> synchronization of indirectly selected instances 2018-10-10 11:04:04 +02:00
Vojtech Kral
b64cf5c372 Plater & GLCanvas3D: Fix instance_moved event, add event handlers 2018-10-09 17:39:04 +02:00
Enrico Turri
691ef4bb1b New selection -> rotation wip 2018-10-09 15:56:34 +02:00