door wall

This commit is contained in:
2020-03-22 19:31:37 +01:00
parent 34a9317110
commit a0fc6e41af
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ class DDImporter {
console.log(portalPoint1) console.log(portalPoint1)
console.log(portalPoint2) console.log(portalPoint2)
let wall = new Wall({ let wall = new Wall({
c : [point1[0], point1[1], point2[0], point2[1]], c : [portalPoint1[0], portalPoint1[1], portalPoint2[0], portalPoint2[1]],
}); });
wall.data.door = CONST.WALL_DOOR_TYPES.DOOR wall.data.door = CONST.WALL_DOOR_TYPES.DOOR
walls.push(wall.data) walls.push(wall.data)

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.3", "version": "0.4.4",
"authors": [ "authors": [
{ {
"name": "Moo Man" "name": "Moo Man"