Commit graph

569 commits

Author SHA1 Message Date
John Lewin
bbcf61457b Move RenderBed state from widget to model 2018-02-18 10:59:49 -08:00
John Lewin
34e7c1234b Move scrollbars to InteractionLayer, add split container with splitters
- Add SplitContainer with InterationLayer and ResizeContainers as split
2018-02-18 10:59:49 -08:00
John Lewin
9c3c9582b3 Reduce accessibility of TrackballTumbleWidget, convert to field 2018-02-18 10:59:49 -08:00
John Lewin
07f77a4ba5 Eliminate redundant container 2018-02-18 10:59:49 -08:00
John Lewin
048541dc74 Add missing GCodePanelWidth persistence 2018-02-18 10:59:49 -08:00
John Lewin
3d924e012e Fix null reference error 2018-02-16 18:48:41 -08:00
John Lewin
784034f2c6 Simplify 2018-02-16 18:48:24 -08:00
John Lewin
643647b700 Rename "Materials Option" -> Materials
- Issue MatterHackers/MCCentral#2811
Inconsistent naming style
2018-02-13 18:35:55 -08:00
John Lewin
f8d9070c61 Rename GetContentStream() -> GetStream() 2018-02-12 19:26:38 -08:00
John Lewin
f440981e51 Rename ILibraryContentStream -> ILibraryAssetStream 2018-02-12 19:26:38 -08:00
John Lewin
995d5c18bf Add common base interface and necessary implementations 2018-02-12 19:26:38 -08:00
John Lewin
127fedd0d5 Simplify SaveAs, move into menu definition,
- Extract persistence to Scene.ToPersistedLibraryItem()
2018-02-12 19:26:37 -08:00
John Lewin
cdaf22d0f2 Remove dead code 2018-02-12 19:26:37 -08:00
John Lewin
68f7c2fa12 Collapse ILibraryReadOnlyStream into ILibraryContentStream 2018-02-12 19:26:36 -08:00
John Lewin
19972a900f Move SaveChanges from GuiWidget(View3DWidget) to SceneContext 2018-02-12 19:26:36 -08:00
Lars Brubaker
7ef109e749 Working on adding all primitives 2018-02-08 15:42:23 -08:00
John Lewin
8f55a938c5 Evaluate move of view buttons to Printer bar
- Issue MatterHackers/MCCentral#2784
Model/GCode tab buttons should be moved to printer bar
2018-02-07 18:46:31 -08:00
John Lewin
92ebda5e90 Add support for saving created content to library containers
- Issue MatterHackers/MCCentral#2767
LibraryContainer -> Save fails in SqliteContainer
- Issue MatterHackers/MCCentral#2743
Part -> Edit -> Save fails to save back to original
2018-02-07 18:46:31 -08:00
John Lewin
f3c0a9436d Disable selection on children to ensure Click event on widget
- MatterHackers/MCCentral#2779
New Cut/Copy/Paste/Save menu items intermittently function
2018-02-06 15:42:19 -08:00
John Lewin
bf800dac36 Add cut/copy/paste/save support to scene views
- Issue MatterHackers/MCCentral#2775
Make CTRL-C function as expected in View3DWidget
- Issue MatterHackers/MCCentral#2776
Make CTRL-S function as expected in View3DWidget
2018-02-06 13:31:52 -08:00
John Lewin
dedb371388 Change casing to match revised accessibility 2018-02-05 17:57:40 -08:00
John Lewin
78546c6f80 Make View3DWidget Scene private 2018-02-05 17:41:04 -08:00
John Lewin
7d07dee708 Resolve unexpected switch to ViewControls3DButtons.Rotate
- Issue MatterHackers/MCCentral#2772
MatterControl unexpectedly starts in orbit mode
2018-02-05 14:25:52 -08:00
John Lewin
dc82f027cd Use new radio button menu style
- Issue MatterHackers/MCCentral#2769
Model render menu options should use gutter and bool menu item type
2018-02-03 13:49:11 -08:00
John Lewin
ea9de0d609 Remove dead code 2018-02-02 18:19:58 -08:00
John Lewin
43cc7bc4d8 Remove redundant code in SwitchStateToEditing
- Set PartSelect as default mode in ViewControls3D
- Move Scene.SelectFirstChild to View3DWidget initialize
- Drop everything else
2018-02-02 17:43:54 -08:00
John Lewin
f6b0b68c9e Add RegisterOperation for type -> operation mapping 2018-01-30 12:29:16 -08:00
John Lewin
6a4c1f4e2f Fix spelling, update agg-sharp 2018-01-29 16:39:06 -08:00
Lars Brubaker
bab2b54f61 Moving to a Create method to take Rebuild out of constructor 2018-01-29 15:36:41 -08:00
Lars Brubaker
fef23f8ca6 Fixed problem dragging onto bed when plane can't be found initially 2018-01-23 16:57:20 -08:00
John Lewin
51a2406c0f Implement overflow menus 2018-01-21 21:07:14 -08:00
LarsBrubaker
f88c683635 re-wrote all the csg tools as IObject3D tools 2018-01-20 22:19:08 -08:00
Lars Brubaker
401cc688d6 Make sure we can use the shift key to switch to pan 2018-01-19 17:09:23 -08:00
Lars Brubaker
e3be3d0961 Removed InteractiveScene Focused Event 2018-01-18 12:57:39 -08:00
Lars Brubaker
f48764ba4b Put in view keyboard controls 2018-01-18 12:57:38 -08:00
LarsBrubaker
de5d70c717 Hook up an Event so that buttons can push focus back to the widget holding the InteractionLayer 2018-01-18 12:57:38 -08:00
John Lewin
cd32125230 Use ActiveTabColor 2018-01-16 22:55:28 -08:00
John Lewin
7b5302c7e0 Revise separators 2018-01-16 21:48:20 -08:00
LarsBrubaker
0f6a49c15b Wrote an overhang renderer class
Recomputes when needed
Caches values
2018-01-15 17:15:02 -08:00
LarsBrubaker
e1b3a07451 Made the render state get set when constructing
Just like John's TODO that was sitting there
Also fixed a bug with material index
2018-01-14 16:46:02 -08:00
John Lewin
27270d6869 Fix spelling 2018-01-12 17:40:10 -08:00
John Lewin
be0f2c24af Add top border to selection panel 2018-01-11 22:26:24 -08:00
John Lewin
3761c9f7fd Remove dead code 2018-01-11 01:07:26 -08:00
John Lewin
8f6f4b232f Guard for null in non-printer case 2018-01-09 09:14:12 -08:00
John Lewin
4d810f2c56 Guard for null in non-printer case 2018-01-08 23:53:39 -08:00
John Lewin
f60259e9d3 Consolidate header and footer bars into SelectedObjectPanel 2018-01-08 23:34:40 -08:00
John Lewin
bbdbc82ddc Remember selection panel size
- Issue MatterHackers/MCCentral#2613
IObject3D -> Selection panel should remember its size
2018-01-08 21:25:36 -08:00
Lars Brubaker
c50b245d9e Fixed resize container
Working on new subtract test
2018-01-08 14:23:37 -08:00
John Lewin
8f1e2183e3 Full height selection panel 2018-01-05 11:45:11 -08:00
Lars Brubaker
5717bb5f19 Improving iteration of sub edit objects (stop at described root) 2018-01-03 14:17:48 -08:00