diff --git a/web/app/brep/debug/debugger/brepDebugger.jsx b/web/app/brep/debug/debugger/brepDebugger.jsx index d975e386..e91ce3bd 100644 --- a/web/app/brep/debug/debugger/brepDebugger.jsx +++ b/web/app/brep/debug/debugger/brepDebugger.jsx @@ -28,6 +28,9 @@ export default class BrepDebugger extends React.PureComponent { __DEBUG__.ShowSolids()} /> this.forceUpdate()} /> +
+ {__CAD_APP.services.cadRegistry.shells.filter(s => s.brepShell).map(shell => )} +
{booleanSessions.map(session => diff --git a/web/app/brep/debug/debugger/utils.jsx b/web/app/brep/debug/debugger/utils.jsx index 2f6cc554..46df428c 100644 --- a/web/app/brep/debug/debugger/utils.jsx +++ b/web/app/brep/debug/debugger/utils.jsx @@ -43,7 +43,7 @@ export const getEdgeViewObjects = findOrCreate.bind(null, (edge, color) => { if (edge.inverted) { points.reverse(); } - return createDirectedCurve(points, edge.tangentAtEnd(), edge.vertexB.point, color) + return createDirectedCurve(points, edge.tangentAtEnd(), points[points.length - 1], color) }); export const getCurveViewObjects = findOrCreate.bind(null, (curve, color) => {