Commit graph

713 commits

Author SHA1 Message Date
YuSanka
b59ff2c294 Fixed a bug in update of the ObjectList when switching between 3d-View and Preview
Steps to repro:
1. start PrusaSlicer
2. add a box
-> watch the object list: only one item is shown in the list
3. switch to preview
-> the item in the object list gets a child
2021-06-09 17:21:39 +02:00
Lukas Matena
1f29a2593b Fixed two more locales-related issues
One warning was also fixed
2021-06-07 12:31:41 +02:00
YuSanka
4b5e568f14 Follow-up 7eebd56b5f - fixed a typo
+ added add_negative.svg for dark mode
2021-06-02 14:36:49 +02:00
YuSanka
7eebd56b5f Fixed DnD for "Model part" volumes inside the object
Fixed volumes order inside the object
2021-06-02 12:54:56 +02:00
YuSanka
8e1cde43a6 Update extruder show/hide and default extruder color in respect to the volume type 2021-05-28 13:41:36 +02:00
YuSanka
b7769856d1 Fixed DnD function for volumes inside the object in respect to the volume type 2021-05-26 15:36:48 +02:00
YuSanka
cf76b5c264 Added "Negative volume" type item to the ObjectList 2021-05-24 17:32:40 +02:00
YuSanka
1256aebd88 Fix of some warnings 2021-05-18 12:58:14 +02:00
Lukas Matena
707ce9d3d4 Added a missing include (gcc) 2021-05-12 17:04:36 +02:00
Oleksandra Yushchenko
ab886e037b
Implementation for
* Implementation for  - Make number keys select extruder when object treeview has focus
+ deleted unused extruder_selection()
+ Fixed notification after splitting of the solid object

* Follow up 85a10268b9 - OSX implementation
+ Added shortcuts description to the "Keyboard Shortcuts" dialog

* Workaround to use "+/-" and numbers shortcuts on Linux
+ Fixed build on Linux

* OSX specific: fixed a work of keyboard accelerators from numbers on NumPad keyboard

* KBShortcutsDialog: fixed shortcuts for "Preferences" and "Show/Hide 3Dconnexion devices settings dialog, if enabled" under osx
and "Set Printable/Unprintable" and "Set extruder" under Linux
 + OSX specific: Added minimize of the application on "Cmd+M"

* Hot-fix for 6efeb9d6b4

* Removed Linux specific workaround
2021-05-11 11:02:12 +02:00
YuSanka
b87c03fc09 Linux specific: Fixed ObjectDataViewModel::GetColumnType()
When "string" type was returned, strange editing TextControl was appeared.
+ Added check of the selection for ObjectList::toggle_printable_state() function
2021-05-10 17:57:44 +02:00
enricoturri1966
f786d9c96e Fixed conflicts after merge with master 2021-05-10 10:25:57 +02:00
enricoturri1966
ec9c3891cf Fixed conflicts after merge with master 2021-05-07 13:14:11 +02:00
YuSanka
4fe6f726de ObjectList: Fixed update of the selection, when some gizmo in 3D-Scene is activated 2021-05-04 14:20:19 +02:00
enricoturri1966
ede14251b1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_project_dirty_state 2021-05-03 16:05:22 +02:00
YuSanka
c414f932d4 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
enricoturri1966
c58572deaa Tech ENABLE_ALLOW_NEGATIVE_Z->Fixed object popping up after editing layer range fields 2021-04-28 11:07:15 +02:00
Lukas Matena
dfe926ef63 Info in ObjectList: Added variable layer height 2021-04-19 16:10:40 +02:00
Lukas Matena
df3fb31268 Info in ObjectList: Settings should be above the new info items, info items are selectable 2021-04-19 16:10:40 +02:00
Lukas Matena
548ceb7acc 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
enricoturri1966
5d4b7c03b6 Extended interface of project dirty state manager 2021-04-06 13:17:29 +02:00
YuSanka
3a5360651d Added "Printable" menu item for multiple selection 2021-03-24 20:26:31 +01:00
Oleksandra Yushchenko
e002f0066f
Ys code refactoring ()
* 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
Lukas Matena
c8fdd837ae Added a missing include for gcc 2021-03-05 11:27:25 +01:00
enricoturri1966
b6634b2ea0 Added progress dialog for adding parts from files 2021-03-04 15:09:50 +01:00
Lukas Matena
b10d064a24 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
Vojtech Bubnik
61a5b43ac3 Fix of Add option to change support interface pattern
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
YuSanka
03dee86071 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
YuSanka
791c191ea7 Fix of - Slicer crashes in MMU2S mode 2021-02-22 09:56:23 +01:00
YuSanka
23b6a597a8 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
YuSanka
e664100bf6 SPE-1103 Added menu items for the conversation of the volumes from/to meters
Related to 
2021-02-10 20:34:05 +01:00
Vojtěch Bubník
20979556c3
Merge pull request from mathiasvr/patch-1
remove "Some text"
2021-02-10 11:06:45 +01:00
Lukas Matena
0ff0444dcc Fixing Clang warnings 1 2021-02-08 17:52:29 +01:00
Vojtech Bubnik
580f5044ba Fixed compilation on OSX 2021-02-04 10:02:25 +01:00
YuSanka
0baa92fab8 Localization: Added plural form for some phrases, updated POT 2021-02-03 21:30:38 +01:00
Vojtech Bubnik
73c9f939e0 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
YuSanka
af6ef2cb8a Merge remote-tracking branch 'origin/master' into dev 2021-01-13 14:18:55 +01:00
Mathias Rasmussen
7db371f4df
remove "Some text" 2021-01-09 14:31:21 +01:00
YuSanka
efd3002ea9 Fix of - Unselecting more than 10 copies stops at copy 10
But really bug was: incorrectly interrupted DnD.
2021-01-07 09:56:43 +01:00
Lukas Matena
1d25630508 Fix of (Force invalidation when object settings are deleted) 2021-01-04 14:21:24 +01:00
YuSanka
c747502db9 Fix of "Unsupported Selection" error when copy pasting objects with modifiers... 2020-12-30 12:44:07 +01:00
YuSanka
0331bcefd9 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
YuSanka
6c399052c6 Fixed a crash on copy/paste, when ObjectList has no selection. Related to 2020-12-22 10:42:47 +01:00
YuSanka
8849aa77dc Decrease min height for ObjectList (related to ) 2020-12-18 11:31:14 +01:00
YuSanka
aaaa85c1f8 Fix of - "Reload from disk" causes objects converted to inches to revert to mm 2020-12-11 13:57:58 +01:00
Vojtech Bubnik
ca2691c67c Fix for OSX 2020-12-08 10:49:30 +01:00
YuSanka
d7412d4e54 Increase min height for the ObjectList.
Related to the FR 
2020-12-08 10:11:11 +01:00
Vojtech Bubnik
6fe0b09a04 Fixes "Add instance" and "Remove instance" hotkeys don't work when object is selected via de object browser
Captures the +- hotkeys in the object list to add / remove an instance.
2020-12-08 08:30:15 +01:00
YuSanka
497412fcf4 Delete whole object, when all instances are selected. Fix for 2020-12-04 14:19:51 +01:00
YuSanka
899d8fc361 Show "Merge" item of the context menu for multiple selection only for objects or instances 2020-10-16 11:01:27 +02:00