Skip to content
Snippets Groups Projects
Commit 450763c5 authored by Thomas Oster's avatar Thomas Oster
Browse files

Fix: Wrong Property used for Check

parent 107cc9cd
No related branches found
No related tags found
No related merge requests found
......@@ -278,7 +278,7 @@ abstract class EpilogCutter extends LaserCutter
RasterPart rp = ((RasterPart) p);
for (int i = 0; i < rp.getRasterCount(); i++)
{
if (rp.getLaserProperty(i) != null && !(rp.getLaserProperty(i) instanceof PowerSpeedFocusFrequencyProperty))
if (rp.getLaserProperty(i) != null && !(rp.getLaserProperty(i) instanceof PowerSpeedFocusProperty))
{
throw new IllegalJobException("This driver expects Power,Speed and Focus as settings");
}
......@@ -295,7 +295,7 @@ abstract class EpilogCutter extends LaserCutter
Raster3dPart rp = (Raster3dPart) p;
for (int i = 0; i < rp.getRasterCount(); i++)
{
if (rp.getLaserProperty(i) != null && !(rp.getLaserProperty(i) instanceof PowerSpeedFocusFrequencyProperty))
if (rp.getLaserProperty(i) != null && !(rp.getLaserProperty(i) instanceof PowerSpeedFocusProperty))
{
throw new IllegalJobException("This driver expects Power,Speed and Focus as settings");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment