Commit Graph

431 Commits

Author SHA1 Message Date
Enrico Turri
3654f708f2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 16:19:59 +01:00
YuSanka
e8e8e7e9c5 Updated draw_colored_band() according to the new colors.
+ some code refactoring
2019-01-30 14:45:18 +01:00
Enrico Turri
0cd0041cc6 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 14:09:18 +01:00
YuSanka
cc560c2d1d Fix to my last commit 2019-01-30 13:26:16 +01:00
Enrico Turri
a9955a4bc8 Added debug output to test event handling sequence between Objects List and Object Manipulator fields 2019-01-30 12:18:01 +01:00
YuSanka
1a69cea320 Implemented object/part renaming under OSX, using popup_menu 2019-01-30 11:35:37 +01:00
YuSanka
f1ca3f049a Fixed first binding for "Split to parts" menu item in ObjectList 2019-01-30 10:06:10 +01:00
YuSanka
9e25c7ac0c Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-28 12:19:28 +01:00
YuSanka
f704299d95 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
bubnikv
e5c201f2a3 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
YuSanka
68df4e1937 Implemented function create_freq_settings_popupmenu()
to add bundles with frequently used settings
2019-01-25 16:57:44 +01:00
YuSanka
f6d9ab2a99 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
f54eef959d Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 11:50:34 +01:00
YuSanka
2bc61e663f Updated view mode for object_list and object_menu 2019-01-25 10:57:13 +01:00
Enrico Turri
c2b7b6bdf0 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 08:33:14 +01:00
YuSanka
707078b48d Improved Instance splitting :
- Added icon and context menu for Instance.
- Added multiple selection and splitting for the instances (add new object with selected instances)
2019-01-23 16:12:47 +01:00
Enrico Turri
c5555b80de Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-23 08:26:55 +01:00
YuSanka
2d8b37afb3 Implemented splitting of object instances by :
- drag & drop outside of any object
 - set as a separated Object (context menu)
2019-01-22 16:40:37 +01:00
Enrico Turri
fce33a3d54 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-22 08:32:05 +01:00
YuSanka
04eac31acc Fix of SPE-777
Added a flag to optimize the checking if the volume is splittable
2019-01-21 15:43:06 +01:00
Enrico Turri
05b6ed498a Code cleanup 2019-01-21 11:29:45 +01:00
Enrico Turri
a2dee15995 Fixed .prusa i/o and split to objects 2019-01-18 16:01:43 +01:00
Enrico Turri
5eb66728bb 1st installment of volumes centering fixes (WIP) 2019-01-18 12:52:09 +01:00
Enrico Turri
75e29ed2fb Generic subparts placed at one of the bottom corners of the world bounding box of the transformed current selected instance (#1517) 2019-01-14 13:29:06 +01:00
YuSanka
393c72aa8e Implemented ModeSizer with ModeButtons for the mode view changing from the settings tabs and plater 2019-01-10 11:09:31 +01:00
YuSanka
bbda4e537f Fixed a crash after settings adding for the instance from the scene's context menu 2019-01-09 10:30:48 +01:00
YuSanka
d36ccbb2fc Fix of Cyrillic named files inside the object list (part of the #1622) 2019-01-08 11:48:32 +01:00
YuSanka
77d73ca4ce Fixed #1579 2019-01-07 10:32:33 +01:00
bubnikv
fae0b19b40 Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
2019-01-03 14:34:53 +01:00
Enrico Turri
31986660a1 Model's volume transform set as default 2019-01-02 10:49:13 +01:00
bubnikv
ef709aad69 Fixed a crash when trying to delete a wipe tower with the delete key. 2018-12-18 19:12:59 +01:00
YuSanka
7c2085be67 Suppressed selection's update if SettingsItem for the current object/part is selected 2018-12-18 15:29:49 +01:00
YuSanka
35c26557f9 Created GetRowByItem() to fix the Scrolling of the Object List to selected item under all platforms
+ temporary suppressed object/part mane editing under OSX
2018-12-17 12:47:08 +01:00
YuSanka
236b82ef90 Next try to fix scroll the Object List to selected item (OSX & GTK) 2018-12-14 17:10:08 +01:00
YuSanka
76ed41d1c8 Changed PrusaBitmapTextRenderer's inheritance to wxDataViewRenderer instead of wxDataViewCustomRenderer :
to fix name editing under OSX
2018-12-14 17:10:08 +01:00
YuSanka
e9633a50cc Fixed scroll the Object List to selected item on OSX & GTK
+ fixed #1395 (maximum PresetComboBox's width limit on Ubuntu)
2018-12-14 12:11:23 +01:00
YuSanka
c8e7b75344 Temporary fix of the build 2018-12-13 15:06:34 +01:00
YuSanka
e5bc1cb598 Fixed broken DnD on GTK
+ show "Object menu" for each FullInstance instead of FullObject
2018-12-13 13:38:18 +01:00
YuSanka
8322afa988 Scroll the Object List to selected item been visible in the list (after object/part selection from the 3DScene) 2018-12-13 13:38:18 +01:00
YuSanka
72ee8813a6 Save edited object/part's name to the object model 2018-12-12 14:44:43 +01:00
YuSanka
416646e1b2 ObjectList: first column editing 2018-12-12 14:44:42 +01:00
YuSanka
ee74a4b8ab Fix to my last commit 2018-12-12 10:46:12 +01:00
YuSanka
8b689af386 Fixed DnD under all platforms
+ try to fix the work of Backspase in ObjectList (using EVT_KEY_DOWN instead of EVT_CHAR)
2018-12-12 08:40:10 +01:00
YuSanka
5d55b1d612 Update value inside TextCtrl & SpinCtrl after wxEVT_KILL_FOCES instead of wxEVT_TEXT (or wxEVT_TEXT_ENTER) 2018-12-11 14:05:56 +01:00
YuSanka
5b497ee2d4 Try to fix DnD under OSX
+ try to fix wxEVT_CHAR under OSX
+ some code-rebase
2018-12-11 09:37:58 +01:00
YuSanka
f086c7b3a7 Update extruder value for adding objects 2018-12-11 08:53:18 +01:00
YuSanka
d8ccee01ac Fixed extruder number updating after changing of the extruder count 2018-12-10 17:02:54 +01:00
YuSanka
27b5ae0961 Fixed build under OSX 2018-12-10 14:13:25 +01:00
YuSanka
a6e85ed1f6 Suppressed import/adding of the 3mf which contains multi-part objects
+ Try to fix the wrong extruder selection under OSX
2018-12-10 13:40:19 +01:00
YuSanka
6b912ef3d7 Fixed wrong importing of the 3mf with modifier/part which is contain settings 2018-12-10 10:42:55 +01:00