Move up_pointer.stl to Stls folder
This commit is contained in:
parent
445a600d76
commit
9a3ededecc
2 changed files with 3 additions and 3 deletions
|
|
@ -135,7 +135,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
DrawOnTop = true;
|
||||
|
||||
using (Stream arrowStream = AggContext.StaticData.OpenStream(Path.Combine("Icons", "3D Icons", "up_pointer.stl")))
|
||||
using (Stream arrowStream = AggContext.StaticData.OpenStream(Path.Combine("Stls", "up_pointer.stl")))
|
||||
{
|
||||
upArrowMesh = StlProcessing.Load(arrowStream, CancellationToken.None);
|
||||
}
|
||||
|
|
@ -189,7 +189,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
var selectedItem = InteractionContext.Scene.RootSelectedItem;
|
||||
|
||||
if (mouseEvent3D.info != null
|
||||
if (mouseEvent3D.info != null
|
||||
&& selectedItem != null)
|
||||
{
|
||||
HadClickOnControl = true;
|
||||
|
|
@ -225,7 +225,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
IntersectInfo info = hitPlane.GetClosestIntersection(mouseEvent3D.MouseRay);
|
||||
|
||||
if (info != null
|
||||
if (info != null
|
||||
&& selectedItem != null)
|
||||
{
|
||||
var delta = info.HitPosition.Z - initialHitPosition.Z;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue