From f80508e76d745a60077e813932cfcf08949c527c Mon Sep 17 00:00:00 2001 From: Matthias Bilger Date: Sun, 22 Mar 2020 19:44:50 +0100 Subject: [PATCH] use point --- ddimport.js | 8 ++++---- module.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ddimport.js b/ddimport.js index 8ca4fef..3771ce0 100644 --- a/ddimport.js +++ b/ddimport.js @@ -139,16 +139,16 @@ class DDImporter { let point2fctt = this.convertPointFromDDtoFVTT(point2); let wall1 = new Wall({ c : [ - point1[0], - point1[1], + point1fctt[0], + point1fctt[1], topoint1[0], topoint1[1]] }); wallSet.push(wall1.data) let wall2 = new Wall({ c : [ - point2[0], - point2[1], + point2fctt[0], + point2fctt[1], topoint2[0], topoint2[1]] }); diff --git a/module.json b/module.json index b68fed8..f82180e 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "dd-import", "title": "DungeonDraft Importer", "description": "Imports scene elements from Dungeon Draft map files", - "version": "0.4.9", + "version": "0.4.10", "authors": [ { "name": "Moo Man"