Orthographic projection mode with dynamic near/far.
This commit is contained in:
parent
0834aff9f4
commit
e7947a2fd2
70 changed files with 2548 additions and 244 deletions
|
|
@ -264,10 +264,10 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
CreateWidgetIfRequired(controlLayer);
|
||||
markdownWidget.Visible = true;
|
||||
|
||||
var descrpition = Description.Replace("\\n", "\n");
|
||||
if (markdownWidget.Markdown != descrpition)
|
||||
var description = Description.Replace("\\n", "\n");
|
||||
if (markdownWidget.Markdown != description)
|
||||
{
|
||||
markdownWidget.Markdown = descrpition;
|
||||
markdownWidget.Markdown = description;
|
||||
}
|
||||
|
||||
markdownWidget.Width = width;
|
||||
|
|
@ -298,6 +298,11 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
graphics2DOpenGL.RenderTransformedPath(transform, new Ellipse(0, 0, 5, 5), theme.PrimaryAccentColor, false);
|
||||
}
|
||||
|
||||
public AxisAlignedBoundingBox GetEditorWorldspaceAABB(Object3DControlsLayer layer)
|
||||
{
|
||||
return AxisAlignedBoundingBox.Empty();
|
||||
}
|
||||
|
||||
private void CreateWidgetIfRequired(Object3DControlsLayer controlLayer)
|
||||
{
|
||||
if (markdownWidget == null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue