fixed wall
This commit is contained in:
@@ -128,22 +128,22 @@ class DDImporter {
|
||||
console.log(this.getNearerPoint(point2, [portalPoint1, portalPoint2]));
|
||||
topoint1 = this.getNearerPoint(point1, [portalPoint1, portalPoint2]);
|
||||
topoint2 = this.getNearerPoint(point2, [portalPoint1, portalPoint2]);
|
||||
let wall = new Wall({
|
||||
let wall1 = new Wall({
|
||||
c : [
|
||||
point1[0],
|
||||
point1[1],
|
||||
topoint1[0],
|
||||
topoint1[1]]
|
||||
});
|
||||
wallSet.push(wall.data)
|
||||
let wall = new Wall({
|
||||
wallSet.push(wall1.data)
|
||||
let wall2 = new Wall({
|
||||
c : [
|
||||
point2[0],
|
||||
point2[1],
|
||||
topoint2[0],
|
||||
topoint2[1]]
|
||||
});
|
||||
wallSet.push(wall.data)
|
||||
wallSet.push(wall2.data)
|
||||
}
|
||||
else{
|
||||
let wall = new Wall({
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "dd-import",
|
||||
"title": "DungeonDraft Importer",
|
||||
"description": "Imports scene elements from Dungeon Draft map files",
|
||||
"version": "0.4.2",
|
||||
"version": "0.4.3",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Moo Man"
|
||||
|
||||
Reference in New Issue
Block a user