Commit graph

660 commits

Author SHA1 Message Date
John Lewin
736eab7141 Allow Model -> Right Click in Part view
- Issue MatterHackers/MCCentral#4068
Lost the transform controls in design view
2018-08-29 08:31:16 -07:00
John Lewin
ccd15c2cf0 Move DesignApps help into menus 2018-08-28 18:45:58 -07:00
John Lewin
c7b8b42978 Disallow Model -> Right Click in GCode views
- Issue MatterHackers/MCCentral#4034
Right click fires on model objects in GCode view
2018-08-27 13:49:57 -07:00
Lars Brubaker
3d9781d7c6 Changing close to not take any params
changing CloseEventArgs to EventArgs
2018-08-23 16:44:32 -07:00
Lars Brubaker
9d188e6b23 Changing GL to be a runtime connection to the output device
Moved GL enums to files and directory
2018-08-23 11:35:12 -07:00
John Lewin
902799333c Revise scene selection logic - fix selection failure 2018-08-11 10:06:28 -07:00
LarsBrubaker
580e24c9cd improve selected item thread safty
issue: MatterHackers/MCCentral#3962
Use of Scene.SelectedItem rather than captured context will result in timing failures
2018-08-11 08:50:40 -07:00
John Lewin
4752603f90 Use menu theme 2018-08-10 13:29:38 -07:00
John Lewin
39d249797a Extend workspace/item context menus with relevant and functional actions 2018-08-08 08:47:03 -07:00
John Lewin
aa77a3cf2a Construct and store workspace level menu action dictionary 2018-08-08 08:46:27 -07:00
John Lewin
e3466bbfa8 Use pattern matching 2018-08-08 08:46:27 -07:00
John Lewin
7e0c41ebd7 Fix indentation 2018-08-08 08:46:27 -07:00
John Lewin
b06892ff01 Pass clicked rather than owning widget 2018-08-08 08:46:26 -07:00
John Lewin
f09486583b Add TreeView context menu 2018-08-08 08:46:26 -07:00
John Lewin
c56db0a84a Move right click processing to mouseup 2018-08-08 08:46:26 -07:00
John Lewin
7a27c8ab21 Fix scene right click, popup under overflow icon 2018-08-08 08:46:25 -07:00
John Lewin
710d72adfe Add scene right click menu 2018-08-08 08:46:25 -07:00
John Lewin
1cc6c15f9a Consolidate PrinterEmulator into MatterControl 2018-07-27 21:51:25 -07:00
Lars Brubaker
1a7ab9460f Tumble cube has corner spots
Theme the tumble cube
2018-07-20 10:15:38 -07:00
Lars Brubaker
6825bdf229 Don't move the part off the bed if we can't see where it is going
issue: MatterHackers/MCCentral#3875
On drag part - if mouse leaves view, snap to original position
2018-07-16 17:15:28 -07:00
John Lewin
5e38277f9f Improve border consistency 2018-07-15 10:07:30 -07:00
LarsBrubaker
c8bcdc7b44 Removed HasSelection
issue: MatterHackers/MCCentral#3556
Remove deprecated Scene.HasSelection property
2018-07-13 06:55:12 -07:00
John Lewin
685541523b Spelling 2018-07-12 22:49:39 -07:00
John Lewin
bbabf95c93 Improve DI, use constructor injection 2018-07-12 09:33:15 -07:00
Lars Brubaker
d5470879ba Make sure the tree view scrolls correctly in the design history
issue: MatterHackers/MCCentral#3776
Explore if the tree view should be in a scroll container
2018-06-27 13:01:13 -07:00
John Lewin
d5d8f000f8 Add ResizableSectionWidget expansion persistence 2018-06-23 08:00:15 -07:00
John Lewin
5c1a453a75 Keep padding consistent for all node types 2018-06-23 07:13:19 -07:00
John Lewin
1c914e36a3 Always show expansion icon for selection TreeView root nodes 2018-06-23 07:12:41 -07:00
John Lewin
626ff15151 Use new ResizableSectionWidget
- Issue MatterHackers/MCCentral#3645
Tree view - Needs title and collapse ability
2018-06-22 18:39:03 -07:00
John Lewin
9e19faf7f8 Clean up references holding IObject3Ds in memory
- Modify ClearPlate to perform cleanup duties while investigating
- Issue MatterHackers/MCCentral#3602
Significantly more memory used than expected
2018-06-22 00:10:27 -07:00
LarsBrubaker
e9e55f874e Making Object3D classes consistent
issue: MatterHackers/MCCentral#3702
Consider adding 'Object3D' suffix to Object3D types or use consistent format
2018-06-21 21:03:13 -07:00
LarsBrubaker
ec28305b56 Improving suspend and resume rebuild 2018-06-20 17:21:37 -07:00
Lars Brubaker
01eeff3544 Make sure tree view starts out with selection 2018-06-07 17:53:19 -07:00
John Lewin
8b19d0c643 Ignore AfterSelect events during SelectionChanged
- Issue MatterHackers/MCCentral#3529
Scene spins indefinitely in rebuild loop
2018-06-07 17:07:26 -07:00
Lars Brubaker
0f628cefd8 Allow selection in the tree view 2018-06-05 13:38:25 -07:00
John Lewin
b6b7a1c186 Flatten namespace 2018-06-05 08:35:38 -07:00
John Lewin
d3478e646f Use new batch SetSelection in SelectAll method 2018-06-01 16:16:17 -07:00
John Lewin
1acce62763 Use new batch set selection method 2018-06-01 09:04:42 -07:00
John Lewin
5244025ae3 Consolidate tree processing
- Only build treeview once, destroy/create child content on change
- Single recursive AddTree(IObject3D) method handles all nodes
- BuildTree caller assigns node.TreeView instance on root node
- MatterHackers/MCCentral#3483
Differing construction implementations results in inconsistent TreeNodes
2018-06-01 09:04:42 -07:00
John Lewin
e563334b4d Use generic rather than printer scope
- Issue MatterHackers/MCCentral#3494
"New Part" crashes with null reference exception
2018-06-01 09:04:41 -07:00
John Lewin
5f3b869fa2 Persist user heights for tree/editor panels
- Issue MatterHackers/MCCentral#3428
Load persisted user value for tree section height
2018-05-31 15:38:58 -07:00
Lars Brubaker
25883fc0bc Working on mesh wrapper and rebuild issues 2018-05-31 09:05:08 -07:00
Lars Brubaker
138407e21a Mesh wrapper working much better (pinch and bend working better)
Changing Rebuilding to Suspend and Resume rebuilding
Made visible meshes return only the object not the object and mesh (mesh is on object)
Put in some debugging
2018-05-29 17:50:39 -07:00
Lars Brubaker
7a5c68cf23 Put long running task at top left 2018-05-24 12:05:25 -07:00
Lars Brubaker
ff6e220b4c Made invalidate args so we can pass source and invalidate type
Rebuild does not propagate to parent
2018-05-22 16:17:13 -07:00
John Lewin
2602fef4c7 Host editor panel in BottomResizeContainer
- Issue MatterHackers/MCCentral#3424
2018-05-22 13:40:13 -07:00
John Lewin
2e1ac70f68 Unify tree styling with existing 2018-05-22 13:14:23 -07:00
John Lewin
10100b3be1 Move TreeView above edit panel
- Issue MatterHackers/MCCentral#3427
2018-05-22 12:51:04 -07:00
John Lewin
ee30939dde Demand dependency in constructor 2018-05-21 16:42:40 -07:00
Lars Brubaker
c2bfefbde6 Made a bottom resize container 2018-05-21 14:15:22 -07:00