diff --git a/MatterControlLib/DesignTools/Primitives/TextObject3D.cs b/MatterControlLib/DesignTools/Primitives/TextObject3D.cs index 1b168b549..5c04d408b 100644 --- a/MatterControlLib/DesignTools/Primitives/TextObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/TextObject3D.cs @@ -64,7 +64,7 @@ namespace MatterHackers.MatterControl.DesignTools if (!this.Children.Where(c => c.Mesh != null).Any() && !RebuildLocked) { - this.Invalidate(InvalidateType.Properties); + this.Rebuild().Wait(); } return base.Mesh; diff --git a/MatterControlLib/PartPreviewWindow/View3D/MeshViewerWidget.cs b/MatterControlLib/PartPreviewWindow/View3D/MeshViewerWidget.cs index e373e03d1..c12400e7e 100644 --- a/MatterControlLib/PartPreviewWindow/View3D/MeshViewerWidget.cs +++ b/MatterControlLib/PartPreviewWindow/View3D/MeshViewerWidget.cs @@ -60,7 +60,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow if (source is Object3D object3D && color != source.Color - && color.alpha != 255) + && color.alpha < 255 + && color.alpha > 0) { object3D.EnsureTransparentSorting(); } diff --git a/MatterControlLib/PartPreviewWindow/View3D/Object3DControlsLayer.cs b/MatterControlLib/PartPreviewWindow/View3D/Object3DControlsLayer.cs index 9f54616e2..705c55227 100644 --- a/MatterControlLib/PartPreviewWindow/View3D/Object3DControlsLayer.cs +++ b/MatterControlLib/PartPreviewWindow/View3D/Object3DControlsLayer.cs @@ -857,7 +857,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow } } - if (drawColor.alpha != 255 + if (drawColor.alpha < 255 + && drawColor.alpha > 0 && item is Object3D item3D) { item3D.EnsureTransparentSorting(); diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index 644bf5eda..c18ecbe08 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit 644bf5edac1fa7cd579381c4d285405755f8e4b7 +Subproject commit c18ecbe08a331cfd860edc7e635cbb82e044fe5b