use point

This commit is contained in:
2020-03-22 19:44:50 +01:00
parent d317ef7bcd
commit f80508e76d
2 changed files with 5 additions and 5 deletions

View File

@@ -139,16 +139,16 @@ class DDImporter {
let point2fctt = this.convertPointFromDDtoFVTT(point2); let point2fctt = this.convertPointFromDDtoFVTT(point2);
let wall1 = new Wall({ let wall1 = new Wall({
c : [ c : [
point1[0], point1fctt[0],
point1[1], point1fctt[1],
topoint1[0], topoint1[0],
topoint1[1]] topoint1[1]]
}); });
wallSet.push(wall1.data) wallSet.push(wall1.data)
let wall2 = new Wall({ let wall2 = new Wall({
c : [ c : [
point2[0], point2fctt[0],
point2[1], point2fctt[1],
topoint2[0], topoint2[0],
topoint2[1]] topoint2[1]]
}); });

View File

@@ -2,7 +2,7 @@
"name": "dd-import", "name": "dd-import",
"title": "DungeonDraft Importer", "title": "DungeonDraft Importer",
"description": "Imports scene elements from Dungeon Draft map files", "description": "Imports scene elements from Dungeon Draft map files",
"version": "0.4.9", "version": "0.4.10",
"authors": [ "authors": [
{ {
"name": "Moo Man" "name": "Moo Man"