Commit graph

129 commits

Author SHA1 Message Date
John Lewin
51b15e053b Unregister listeners on Close
- Issue MatterHackers/MCCentral#4588
Listeners not unregistered on Close
2018-11-15 20:03:53 -08:00
John Lewin
59a16f53b5 Unregister scoped listeners via Closed event 2018-11-15 14:51:07 -08:00
John Lewin
7cea4f67ba Resolve leak due to lambda, use existing listener 2018-11-15 14:51:06 -08:00
Lars Brubaker
0eb7b1cb3c remove active printer from PrintItemWrapper
issue: MatterHackers/MCCentral#4574
2018-11-14 14:29:13 -08:00
LarsBrubaker
7296aea99f subtract and replace using new booleans 2018-11-13 08:13:34 -08:00
LarsBrubaker
8e347340c4 Added intersection 2018-11-13 08:13:34 -08:00
LarsBrubaker
0ead07f8fd Made Combine use new booleans 2018-11-13 08:13:34 -08:00
Lars Brubaker
6405dad7ac Convert static SettingChanged event to instance based
issue: MatterHackers/MCCentral#4551
2018-11-12 17:45:13 -08:00
John Lewin
1114e5ef81 Move to bed center if empty bed
- Issue MatterHackers/MCCentral#4550
InsertNewItem leaves items in place when copied to part view
2018-11-12 11:41:26 -08:00
John Lewin
d90102d8f5 Add mechanism for export to select context before options 2018-11-12 09:45:00 -08:00
John Lewin
811c25256f Rename SelectPrinterPage to OpenPrinterPage 2018-11-12 09:44:59 -08:00
John Lewin
426c117434 Simplify naming for clarity 2018-11-12 09:44:59 -08:00
John Lewin
a7385aa057 Convert ConditionallyCancelPrint to extension method
- Extract printer extension methods to common class
2018-11-12 09:44:59 -08:00
John Lewin
4ce363e29b Pass printer reference, remove static ActivePrinter references 2018-11-12 09:44:59 -08:00
John Lewin
0d9e6aadf2 Experimental multi-printer support 2018-11-12 09:44:59 -08:00
LarsBrubaker
f244a1fe48 check the right size 2018-11-11 21:34:27 -08:00
LarsBrubaker
eaabcccea8 Put in a first pass of an improved boolean function based on libigl 2018-11-11 19:31:15 -08:00
John Lewin
64ec76627f Remove InsertNewItem coupling to ActivePrinter
- Issue MatterHackers/MCCentral#4549
Remove ActivePrinter from ApplicationController
2018-11-11 08:59:00 -08:00
John Lewin
712dadd3a7 Convert Paste/DuplicateItem to receive sceneContext
- Required to remove ActivePrinter from InsertNewItem
- Issue MatterHackers/MCCentral#4549
Remove ActivePrinter from ApplicationController
2018-11-11 08:51:50 -08:00
Lars Brubaker
e69591a884 EnableChanged -> EventHandler 2018-11-09 14:32:04 -08:00
Lars Brubaker
44a019d95c Connection Succeeded -> EventHandler 2018-11-09 14:32:04 -08:00
Lars Brubaker
5d6be0c4bf Moved to EventHandler
Connection Failed
DestinationChanged
2018-11-09 14:32:04 -08:00
Lars Brubaker
4bb93fcc19 changed CommunicationStateChanged to EventHandler 2018-11-09 13:19:29 -08:00
John Lewin
41bd4965f8 Revise auto switch to GCode animation
- Issue MatterHackers/MCCentral#4534
2018-11-08 08:13:08 -08:00
John Lewin
486c31c862 Extract embedded type to new file 2018-11-08 05:46:24 -08:00
John Lewin
0441528b3d Conditionally switch to GCode view only after slicing success
- Issue MatterHackers/MCCentral#4533
Consider if switching to GCode view while slicing is best experience
2018-11-08 05:40:01 -08:00
John Lewin
7212f11871 Rename theme.ActiveTabColor to theme.BackgroundColor
- Issue MatterHackers/MCCentral#4491
2018-11-03 09:51:25 -07:00
John Lewin
8d4974dc32 Move theme.Colors.PrimaryTextColor into theme, remove unneeded types
- Issue MatterHackers/MCCentral#4490
2018-11-03 09:13:07 -07:00
John Lewin
05966c7e56 Wait for async printer load before copying part bed plate
- Issue MatterHackers/MCCentral#4478
When we open a printer from the select menu after clicking print
on a design tab, we don't get the part on the bed
2018-11-03 00:21:33 -07:00
Lars Brubaker
915625fa25 Make sure we update the setup button at the end of loading filament 2018-11-02 18:02:01 -07:00
Lars Brubaker
775f1982bd Re-wrote the load filament wizard as not a macro so we have more control over it
Added it to the setup steps

issue: MatterHackers/MCCentral#4429
Put in a loading filament as part of initial setup process
2018-11-02 16:14:37 -07:00
John Lewin
a6e1b025c4 Use MenuTheme for menu children
- Issue MatterHackers/MCCentral#4466
Wrong theme colors - use MenuTheme
2018-11-01 18:19:09 -07:00
John Lewin
53cb371879 Disconnect loaded scene from newly created one
- Issue MatterHackers/MCCentral#4463
Save seems to fails after Part -> Print button has been invoked
2018-11-01 17:02:12 -07:00
John Lewin
d73e78c286 Remove EditContext.Content
- Issue MatterHackers/MCCentral#4463
Save seems to fails after Part -> Print button has been invoked
2018-11-01 17:02:12 -07:00
John Lewin
624e07803c Use sceneContext.SaveChanges instead of Printer.Bed.SaveChanges
- Issue MatterHackers/MCCentral#4462
CTRL-S should not be coupled to Printer
2018-11-01 17:02:12 -07:00
John Lewin
d225ac2dd4 Disable edit action until implemented
- Issue MatterHackers/MCCentral#4458
Remove name edit button - restore when implemented
2018-11-01 17:02:12 -07:00
Lars Brubaker
19757dde50 compile and continue 2018-11-01 16:49:43 -07:00
Lars Brubaker
1fc34163ae Cleaning up the tree rebuild and invalidate 2018-11-01 16:43:59 -07:00
Lars Brubaker
9379b5c7c2 set selection on design history right click
cleans up errors with right clicking on an object different than the one selected in the scene
cleans up errors with multiple selected objects not being shown in tree view
update treenode outside of draw recursion
2018-11-01 16:13:29 -07:00
Lars Brubaker
b94d0fce10 make sure we check mesh for null before using
issue: MatterHackers/MCCentral#4447
Null reference exception in MeshWrapperObject3D when descendant has null Mesh
2018-11-01 15:02:57 -07:00
John Lewin
14967368a4 Replace RunOnIdle use with alternative for startup initialization
- Issue MatterHackers/MCCentral#4438
RunOnIdle should not be used to queue work post application load
2018-11-01 09:36:58 -07:00
John Lewin
5d23a58637 Honor deferEditorTillMouseUp 2018-11-01 07:26:48 -07:00
John Lewin
272ea2dad0 Simplify 2018-11-01 07:26:48 -07:00
John Lewin
578982d977 Leave implementation details to selectedObjectPanel.SetActiveItem 2018-11-01 07:26:48 -07:00
John Lewin
32836d0793 Improve scene/treeview/SelectedObjectPanel selection behaviors
- Issue MatterHackers/MCCentral#4434
Scene selection change not firing treeview/editor selection change
2018-10-31 22:13:59 -07:00
John Lewin
4b9944b62d Use MenuTheme colors
- Issue MatterHackers/MCCentral#4439
Popups should use MenuTheme colors
2018-10-30 17:28:57 -07:00
John Lewin
a2cd257293 Rename PartPreviewWidget -> MainViewWidget
- Consolidate AppView:MainView
2018-10-30 16:58:29 -07:00
John Lewin
6659156926 Remove workarounds for menu theme colors, rely on new theme support 2018-10-30 16:58:29 -07:00
John Lewin
ea295d0ed4 Prevent null reference of DragDropData.View3D during construction
- Observed failure multiple times, unclear what changed, guard fixes
2018-10-30 16:19:20 -07:00
Lars Brubaker
d99af94609 offset past and copy objects 2018-10-29 16:56:29 -07:00