Skip to content

Commit f645d2e

Browse files
authored
Fix Type not found : dn.Bresenham (#1145)
1 parent 214e721 commit f645d2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/electron.renderer/Tool.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import dn.Bresenham;
1+
import dn.geom.Bresenham;
22

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

186186
function useAt(m:Coords, isOnStop:Bool) : Bool {
187187
var anyChange = false;
188-
dn.Bresenham.iterateThinLine(lastMouse.cx, lastMouse.cy, m.cx, m.cy, function(cx,cy) {
188+
dn.geom.Bresenham.iterateThinLine(lastMouse.cx, lastMouse.cy, m.cx, m.cy, function(cx,cy) {
189189
anyChange = useAtInterpolatedGrid(cx,cy) || anyChange;
190190
if( anyChange )
191191
editor.levelRender.invalidateLayerArea(curLayerInstance, cx,cx, cy,cy);

0 commit comments

Comments
 (0)