Skip to content

Commit

Permalink
Fix Type not found : dn.Bresenham (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matiiss authored Nov 13, 2024
1 parent 214e721 commit f645d2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/electron.renderer/Tool.hx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import dn.Bresenham;
import dn.geom.Bresenham;

class Tool<T> extends dn.Process {
static var SELECTION_MEMORY : Map<String, Dynamic> = new Map();
Expand Down Expand Up @@ -185,7 +185,7 @@ class Tool<T> extends dn.Process {

function useAt(m:Coords, isOnStop:Bool) : Bool {
var anyChange = false;
dn.Bresenham.iterateThinLine(lastMouse.cx, lastMouse.cy, m.cx, m.cy, function(cx,cy) {
dn.geom.Bresenham.iterateThinLine(lastMouse.cx, lastMouse.cy, m.cx, m.cy, function(cx,cy) {
anyChange = useAtInterpolatedGrid(cx,cy) || anyChange;
if( anyChange )
editor.levelRender.invalidateLayerArea(curLayerInstance, cx,cx, cy,cy);
Expand Down

0 comments on commit f645d2e

Please sign in to comment.