Commit Graph

548 Commits

Author SHA1 Message Date
ac7b40d695 Fixed a bug with selection from the 3D-scene when ObjectSettings item is selected in ObjectList
Steps to repro:
1. Add 2 objects, add Settings for some of object -> Object Settings item is selected
2. In the 3D-scene select another object -> BUG: no changes in the ObjectList
2021-04-30 16:56:18 +02:00
0916f23e3f Tech ENABLE_ALLOW_NEGATIVE_Z->Fixed object popping up after editing layer range fields 2021-04-28 11:07:15 +02:00
d9053008ab Info in ObjectList: Added variable layer height 2021-04-19 16:10:40 +02:00
2be5cb8442 Info in ObjectList: Settings should be above the new info items, info items are selectable 2021-04-19 16:10:40 +02:00
06726145a5 Show info about custom supports and seam in ObjectList
Slight refactoring in GLGizmosManager so it is easier to open a gizmo from the ObjectList
2021-04-19 16:10:40 +02:00
36afd411d6 Extended interface of project dirty state manager 2021-04-06 13:17:29 +02:00
ac192a8325 Added "Printable" menu item for multiple selection 2021-03-24 20:26:31 +01:00
31c7eacfbe Ys code refactoring (#6227)
* GUI_ObjectList code refactoring:
The MenuFactory structure contains functions related to the context menu and bitmaps used to different volume types.
The SettingsFactory structure contains functions to getting overridden options, its bundles and bitmaps used to setting categories.

Fixed bugs/crashes:
1. Add object -> Add Settings from 3D scene -> Right click on object => Part's Settings list instead of object's
   (Same behavior if something else but Object is selected in ObjectList)
2. Add settings to the part -> Change part type to the "Support Blocker/Enforcer" -> Settings disappears (it's OK) but =>
   Save Project -> Open project => Support Blocker/Enforcer has a settings
3. Add part for object -> Change type of part -> Change monitor DPI -> old type icon appears
4. Select all instances in ObjectList -> Context menu in 3D scene -> Add Settings -> Select some category -> Crash

* ObjectLayers: Fixed a crash on re-scaling, when some layer range is selected

* Fixed OSX build

* Added menu item "Split to Objects" for multipart objects

+ Fixed bug: Add 2 parts,
             Add some settings for one part
             Delete part without settings => Single part object without settings, but settings are applied for the object.

+ Next refactoring: use same menu for Plater and ObjectList
2021-03-15 10:04:45 +01:00
41688d4c8a Added a missing include for gcc 2021-03-05 11:27:25 +01:00
f1fecd7d80 Added progress dialog for adding parts from files 2021-03-04 15:09:50 +01:00
ba502f54cd Added an empty category icon for Fuzzy Skin to prevent crashes in ObjectList
The icon should later be replaced by a proper one.
2021-02-26 16:08:51 +01:00
cda9ecc6d7 Fix of Add option to change support interface pattern #1197
New config field for switching the support interface pattern between
default (rectilinear for non-soluble interface, concentric for soluble interface),
explicit rectilinear and explicit concentric.

Also the config layer was reworked a bit to reduce some switch statements
on ConfigOptionEnum<> templates.
2021-02-24 15:59:18 +01:00
9b5eb7fc41 ObjectList: After deleting volumes from the object, update the extruder color for the object from the last and only volume 2021-02-22 18:50:38 +01:00
f54de4734b Fix of #6094 - Slicer crashes in MMU2S mode 2021-02-22 09:56:23 +01:00
5ccb8c8222 Fixed a bug with erase of the multiple instance selection in 3D-scene
+ Try to fix accidentally crash on Copy/Paste
2021-02-16 21:20:06 +01:00
72fcba1202 SPE-1103 Added menu items for the conversation of the volumes from/to meters
Related to #4521
2021-02-10 20:34:05 +01:00
9a5bacdf25 Merge pull request #5723 from mathiasvr/patch-1
remove "Some text"
2021-02-10 11:06:45 +01:00
22ef17af54 Fixing Clang warnings 1 2021-02-08 17:52:29 +01:00
e44e82c43b Fixed compilation on OSX 2021-02-04 10:02:25 +01:00
3be02881a9 Localization: Added plural form for some phrases, updated POT 2021-02-03 21:30:38 +01:00
3f2b57b1d4 Squash merge of lh_brim_rework,
brim separated to Brim.cpp,hpp
Refactored accessors to PrintObjectPtrs, PrintRegionPtrs, LayerPtrs,
SupportLayerPtrs for const correctness.
2021-02-03 15:12:53 +01:00
6402cd7efc Merge remote-tracking branch 'origin/master' into dev 2021-01-13 14:18:55 +01:00
4553725b53 remove "Some text" 2021-01-09 14:31:21 +01:00
6efe7e7777 Fix of #5568 - Unselecting more than 10 copies stops at copy 10
But really bug was: incorrectly interrupted DnD.
2021-01-07 09:56:43 +01:00
45a24ce9db Fix of #5606 (Force invalidation when object settings are deleted) 2021-01-04 14:21:24 +01:00
3a88974ac1 Fix of #5517 "Unsupported Selection" error when copy pasting objects with modifiers... 2020-12-30 12:44:07 +01:00
328d630f3d ObjectList: Smart update of the min height in respect to the items count.
Min 7 items and max 15 items
2020-12-30 11:00:02 +01:00
a17aef681d Fixed a crash on copy/paste, when ObjectList has no selection. Related to #5517 2020-12-22 10:42:47 +01:00
dcfb01cd1a Decrease min height for ObjectList (related to #5462) 2020-12-18 11:31:14 +01:00
080088b8db Fix of #5007 - "Reload from disk" causes objects converted to inches to revert to mm 2020-12-11 13:57:58 +01:00
51c450bf66 Fix for OSX 2020-12-08 10:49:30 +01:00
2de75db3d0 Increase min height for the ObjectList.
Related to the FR #5162
2020-12-08 10:11:11 +01:00
6a14e814ac Fixes "Add instance" and "Remove instance" hotkeys don't work when object is selected via de object browser #5350
Captures the +- hotkeys in the object list to add / remove an instance.
2020-12-08 08:30:15 +01:00
9d4c5ea27a Delete whole object, when all instances are selected. Fix for #5191 2020-12-04 14:19:51 +01:00
40f23d4610 Show "Merge" item of the context menu for multiple selection only for objects or instances 2020-10-16 11:01:27 +02:00
053e6bf300 Changed wording of "Revert from imperial units" 2020-10-12 11:37:43 +02:00
4e0a0c5c51 New class ModelConfig wrapping DynamicPrintConfig and a timestamp
to help with detecting "not changed" event when taking
Undo/Redo snapshot or synchronizing with the back-end.

Converted layer height profile and supports / seam painted areas
to the same timestamp controlled structure.
2020-09-24 15:34:13 +02:00
dc2d6595c9 Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-09-02 09:15:11 +02:00
8f0746fece SLA archive import will now recover the model's original position. 2020-08-27 23:14:42 +02:00
e7f21d1e0e Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
605988cf1f Changed signature of the BitmapTextRenderer
+ Added experimental code for the rendering of the "markuped" text
2020-08-06 15:54:12 +02:00
5dff085b4f Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-06 08:51:13 +02:00
4395e6d74a Custom renderers extracted from the ObjectDataViewModel 2020-08-05 20:26:40 +02:00
22d218bd4c Added an icon for 'ironing' category 2020-08-03 12:21:00 +02:00
ebef3bcb5d Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-28 14:14:16 +02:00
58e6d4b43d Fixed a bug in selection from the 3D scene.
Steps to the reproduce a crash:
1. In SLA mode add some object with several instances
2. Slice
3. Back to 3Dview scene, select all using Ctrl+A
4. Press "Delete"
2020-07-24 11:21:49 +02:00
dddceeacd2 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-22 15:53:31 +02:00
626c83f91b Temporary ironing icon to avoid crashes on GTK
Ironing type and spacing can be set per-object
2020-07-22 09:11:48 +02:00
03e7a20e87 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-21 09:47:29 +02:00
6c8b25084f GUI_objectList: fixed typo in assert 2020-07-21 09:44:07 +02:00