Commit graph

514 commits

Author SHA1 Message Date
John Lewin
6347287c85 Extract BVH rendering logic for BvhIterator for reuse
- Reduce dependency to Matrix/IBvhItem instead of BvhIterator
2019-02-04 16:18:06 -08:00
John Lewin
1faddfd80c Observe Drawable.Enabled and DrawStage 2019-02-04 16:18:06 -08:00
John Lewin
32ab931342 Add item TraceData renderer 2019-02-04 16:18:06 -08:00
John Lewin
02793f790b Simplify 2019-02-04 16:18:06 -08:00
John Lewin
330aba83f7 Add item Drawables to menu 2019-02-04 16:18:06 -08:00
John Lewin
e9b79e1099 Add common properties to IDrawableItem 2019-02-04 16:18:06 -08:00
John Lewin
f26a8758e5 Extract embedded types to new files 2019-02-04 16:18:06 -08:00
John Lewin
9543c1450e Rename for more specificity 2019-02-04 16:18:06 -08:00
John Lewin
cf4bece014 Extract selection rendering to new Drawable 2019-02-04 16:18:06 -08:00
John Lewin
a9bb99cd99 Adjust timing so that some stages are inside/outside of SetGLContext 2019-02-04 16:18:06 -08:00
John Lewin
2b797fb2f1 Printer widget should use printer bed rather than sceneContext 2019-02-04 16:18:06 -08:00
John Lewin
83712d7e08 Add and use new ISceneContext interface 2019-02-04 16:18:06 -08:00
John Lewin
3f02989e62 Remove redundant World dependency 2019-02-04 16:18:06 -08:00
John Lewin
6399686eed Remove UndoBuffer dependency from viewer 2019-02-04 16:18:06 -08:00
John Lewin
ae923cd484 Move AddTransformSnapshot to InteractiveScene 2019-02-04 16:18:06 -08:00
John Lewin
3e9b6d6fb0 Consolidate 2019-02-04 16:18:06 -08:00
John Lewin
3e7fcbbc09 Consolidate conditional color logic into existing GetItemColor() 2019-02-04 16:18:05 -08:00
John Lewin
2d1c6a560a Add toggles to Gui surface for demo 2019-02-04 16:18:05 -08:00
John Lewin
c7e76e1996 Add Enabled property to IDrawable 2019-02-04 16:18:05 -08:00
John Lewin
8aaa42d078 Invoke drawables at each stage 2019-02-04 16:18:05 -08:00
John Lewin
aaf543c2c7 Rename method to match behavior 2019-02-04 16:18:05 -08:00
John Lewin
316c15a844 Extract drawing from PPE to InteractionLayer
- Eliminate event bindings, invoke DrawEditor directly
2019-02-04 16:18:05 -08:00
John Lewin
0d895258aa Require additional metadata for Drawables 2019-02-04 16:18:05 -08:00
John Lewin
54b43faa2a Convert View3DWidget event handler into IDrawable interface 2019-02-04 16:18:05 -08:00
John Lewin
a33a7e8924 Fix alpha accumulation to 0 2019-02-04 16:18:05 -08:00
John Lewin
5c54285392 Remove unused DrawGlTransparentContent event 2019-02-04 16:18:05 -08:00
John Lewin
7293319e4e Collapse single use method into caller 2019-02-04 16:18:05 -08:00
John Lewin
ff7b8e40cf Add item Drawables list 2019-02-04 16:18:05 -08:00
John Lewin
8f58e8e8d4 Extract InspectedItem render to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
a8dd1c6a5d Extract AABB debugger to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
0f857acc96 Add iterable list of Drawables to viewer 2019-02-04 16:18:05 -08:00
John Lewin
c2fee997d2 Extract AxisIndicator to new Drawable 2019-02-04 16:18:05 -08:00
John Lewin
7269d71b65 Disable example 2019-02-04 16:18:04 -08:00
John Lewin
add10eb242 Enable Drawable example 2019-02-04 16:18:04 -08:00
John Lewin
2a37ac564a Extract debug Drawables 2019-02-04 16:18:04 -08:00
John Lewin
f6a1029efc Extract drawable component from viewer 2019-02-04 16:18:04 -08:00
John Lewin
088db639a3 Indirectly combine MeshViewWidget and InteractionLayer 2019-02-04 16:18:04 -08:00
John Lewin
9908b54dbc Improve naming 2019-02-04 16:18:04 -08:00
John Lewin
56475a4bfa Remove dead code 2019-02-04 16:18:04 -08:00
John Lewin
0b1e3732c4 Revise plugins 2019-02-04 16:18:04 -08:00
LarsBrubaker
6731fdc5d8 Merge branch '2.19.2' 2019-02-03 13:34:11 -08:00
Lars Brubaker
add3356085 Make all the supports remove when we ask to remove supports
issue: MatterHackers/MCCentral#4978
Cannot remove support after saving and reopening design
2019-01-31 18:23:22 -08:00
John Lewin
8dfbd04423 Resuse existing AddToPlate() to pickup latest load/position behavior
- Move behavior into more reusable location, next to similar
  AddToPlate helper methods
- Issue MatterHackers/MCCentral#4955
Part plated at origin instead of bed center
2019-01-31 16:07:05 -08:00
John Lewin
15a6f063d7 Remove dead code 2019-01-31 16:02:28 -08:00
John Lewin
3dec3a93fb Remove redundant key definitions 2019-01-31 16:02:28 -08:00
Lars Brubaker
ce2aaac574 Fixed rotate, scale, translate to work with multiple objects
Made Transform Wrapper Object work with list

issue: MatterHackers/MCCentral#4979
Crash when scaling model with support
2019-01-31 15:41:56 -08:00
Lars Brubaker
9061c2ed35 Needed to have the texture on the bed have some transparent pixels in it
issue: MatterHackers/MCCentral#4961
Support Pillars are invisible unless viewing from underneath bed
2019-01-31 13:46:19 -08:00
John Lewin
18fc068d2c Add missing localizations
- Issue MatterHackers/MCCentral#4976
Localize strings
2019-01-31 12:35:12 -08:00
Lars Brubaker
1d2fe6823e added an Enable Network Traffic config value
If disabled - turn off 'check for update', 'login', 'get public profiles', and make public for other network aware resources

issue: MatterHackers/MCCentral#4879
add ability to check Registry key to disable check for updates and login
2019-01-31 09:42:54 -08:00
LarsBrubaker
1918d5987a improving support generator
can undo remove supports
starting work on not overlapping existing support
working on support tests
cleaned up delete command (use selection maintainer)
2019-01-31 07:56:36 -08:00