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
|
|
@ -542,6 +542,23 @@ namespace MatterHackers.MatterControl
|
|||
}
|
||||
}
|
||||
|
||||
internal AxisAlignedBoundingBox GetAabbOfRenderGCode3D()
|
||||
{
|
||||
if (this.RenderInfo != null)
|
||||
{
|
||||
// If needed, update the RenderType flags to match to current user selection
|
||||
if (RendererOptions.IsDirty)
|
||||
{
|
||||
this.RenderInfo.RefreshRenderType();
|
||||
RendererOptions.IsDirty = false;
|
||||
}
|
||||
|
||||
return this.GCodeRenderer.GetAabbOfRender3D(this.RenderInfo);
|
||||
}
|
||||
|
||||
return AxisAlignedBoundingBox.Empty();
|
||||
}
|
||||
|
||||
public void LoadActiveSceneGCode(string filePath, CancellationToken cancellationToken, Action<double, string> progressReporter)
|
||||
{
|
||||
if (File.Exists(filePath))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue