Invoke Click rather than changing Checked to ensure event fires
- Issue MatterHackers/MCCentral#3171 Something got messed up with baby stepping on this print
This commit is contained in:
parent
9166b1bc6d
commit
48b7a85de6
4 changed files with 7 additions and 11 deletions
|
|
@ -311,7 +311,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
BspNode bspTree = null;
|
||||
|
||||
// if there is a chached bsp tree load it
|
||||
// if there is a cached bsp tree load it
|
||||
var meshHashCode = mesh.GetLongHashCode();
|
||||
string cachePath = ApplicationController.CacheablePath("MeshBspData", $"{meshHashCode}.bsp");
|
||||
if (File.Exists(cachePath))
|
||||
|
|
@ -346,13 +346,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
private Mesh _buildVolumeMesh;
|
||||
|
||||
public Mesh BuildVolumeMesh
|
||||
{
|
||||
get
|
||||
{
|
||||
return _buildVolumeMesh;
|
||||
}
|
||||
}
|
||||
public Mesh BuildVolumeMesh => _buildVolumeMesh;
|
||||
|
||||
public bool EditableScene { get; private set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -804,7 +804,9 @@ namespace MatterHackers.MeshVisualizer
|
|||
{
|
||||
bedColor = new Color(this.BedColor, this.BedColor.alpha / 4);
|
||||
}
|
||||
|
||||
GLHelper.Render(sceneContext.Mesh, bedColor, RenderTypes.Shaded, World.ModelviewMatrix);
|
||||
|
||||
if (sceneContext.PrinterShape != null)
|
||||
{
|
||||
GLHelper.Render(sceneContext.PrinterShape, bedColor, RenderTypes.Shaded, World.ModelviewMatrix);
|
||||
|
|
|
|||
|
|
@ -210,14 +210,14 @@ namespace MatterHackers.MatterControl
|
|||
{
|
||||
if (zPlusControl.MoveAmount >= 1)
|
||||
{
|
||||
movePointZeroTwoMmButton.Checked = true;
|
||||
movePointZeroTwoMmButton.InvokeClick();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (zPlusControl.MoveAmount < 1)
|
||||
{
|
||||
moveOneMmButton.Checked = true;
|
||||
moveOneMmButton.InvokeClick();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit d59ffab5d93309ab3fcdb2681cd14c4c5cf90568
|
||||
Subproject commit 32c80a6750a68e961c8b8c53f4d7af83a9746144
|
||||
Loading…
Add table
Add a link
Reference in a new issue