Commit Graph

390 Commits

Author SHA1 Message Date
ab968364e5 Renamed the "lambda-" prefix for the generic modifiers to "Generic-"
Refactored ModelVolume::Type to enum class ModelVolumeType to be able
to forward declare it.

Refactored UI to use the ModelVolumeType instead of the untyped int.
2019-02-22 12:12:10 +01:00
d9c50b7796 Changed sidebar controls layout 2019-02-07 14:50:48 +01:00
c0287928a6 Added bitmap scaling 2019-02-06 15:29:13 +01:00
464f0ef65f Merge remote-tracking branch 'origin/master' into ys_hdpi 2019-02-06 11:12:44 +01:00
a98f6fe732 Added scale for ObjectList 2019-02-06 11:07:32 +01:00
44487a1841 Improved stability (fixed crashes) of the Cut by plane function by
replacing the cut triangulation with freeglu tesselator.
Added performance tracing output of the Cut by plane function.
Added wait cursor to split to parts / objects, object cut, save to AMF/3MF.
2019-02-05 20:23:24 +01:00
b0a732d2de 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
e2ce240ec3 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-31 13:32:47 +01:00
78505009aa Added menu item for the "Fix through the Netfabb" 2019-01-30 16:27:33 +01:00
3654f708f2 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 16:19:59 +01:00
e8e8e7e9c5 Updated draw_colored_band() according to the new colors.
+ some code refactoring
2019-01-30 14:45:18 +01:00
0cd0041cc6 Merge branch 'master' of https://github.com/prusa3d/Slic3r into sidebar_fixes 2019-01-30 14:09:18 +01:00
cc560c2d1d Fix to my last commit 2019-01-30 13:26:16 +01:00
a9955a4bc8 Added debug output to test event handling sequence between Objects List and Object Manipulator fields 2019-01-30 12:18:01 +01:00
1a69cea320 Implemented object/part renaming under OSX, using popup_menu 2019-01-30 11:35:37 +01:00
f1ca3f049a Fixed first binding for "Split to parts" menu item in ObjectList 2019-01-30 10:06:10 +01:00
9e25c7ac0c Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-28 12:19:28 +01:00
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
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
68df4e1937 Implemented function create_freq_settings_popupmenu()
to add bundles with frequently used settings
2019-01-25 16:57:44 +01:00
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
f54eef959d Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-25 11:50:34 +01:00
2bc61e663f Updated view mode for object_list and object_menu 2019-01-25 10:57:13 +01:00
c2b7b6bdf0 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 08:33:14 +01:00
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
c5555b80de Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-23 08:26:55 +01:00
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
fce33a3d54 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-22 08:32:05 +01:00
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
05b6ed498a Code cleanup 2019-01-21 11:29:45 +01:00
a2dee15995 Fixed .prusa i/o and split to objects 2019-01-18 16:01:43 +01:00
5eb66728bb 1st installment of volumes centering fixes (WIP) 2019-01-18 12:52:09 +01:00
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
393c72aa8e Implemented ModeSizer with ModeButtons for the mode view changing from the settings tabs and plater 2019-01-10 11:09:31 +01:00
bbda4e537f Fixed a crash after settings adding for the instance from the scene's context menu 2019-01-09 10:30:48 +01:00
d36ccbb2fc Fix of Cyrillic named files inside the object list (part of the #1622) 2019-01-08 11:48:32 +01:00
77d73ca4ce Fixed #1579 2019-01-07 10:32:33 +01:00
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
31986660a1 Model's volume transform set as default 2019-01-02 10:49:13 +01:00
ef709aad69 Fixed a crash when trying to delete a wipe tower with the delete key. 2018-12-18 19:12:59 +01:00
7c2085be67 Suppressed selection's update if SettingsItem for the current object/part is selected 2018-12-18 15:29:49 +01:00
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
236b82ef90 Next try to fix scroll the Object List to selected item (OSX & GTK) 2018-12-14 17:10:08 +01:00
76ed41d1c8 Changed PrusaBitmapTextRenderer's inheritance to wxDataViewRenderer instead of wxDataViewCustomRenderer :
to fix name editing under OSX
2018-12-14 17:10:08 +01:00
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
c8e7b75344 Temporary fix of the build 2018-12-13 15:06:34 +01:00
e5bc1cb598 Fixed broken DnD on GTK
+ show "Object menu" for each FullInstance instead of FullObject
2018-12-13 13:38:18 +01:00
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
72ee8813a6 Save edited object/part's name to the object model 2018-12-12 14:44:43 +01:00
416646e1b2 ObjectList: first column editing 2018-12-12 14:44:42 +01:00