bill 4 năm trước cách đây
mục cha
commit
abaf1c57d9
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      src/CAD/core/additional/calcRoom.js

+ 4 - 4
src/CAD/core/additional/calcRoom.js

@@ -244,10 +244,9 @@ export default function calcRoom(data, cad) {
     return walls.map(cid => wall.find(({id}) => cid === id))
   })
 
-  console.log(_roomsWalls)
 
-  // removeBigPolygon()
-  // getIncludeFromRoom()
+  removeBigPolygon()
+  getIncludeFromRoom()
 
   //计算多边形中心
   //后续要修改,应该是重心才合理
@@ -282,7 +281,8 @@ export default function calcRoom(data, cad) {
     }
   })
 
-  
+
+  console.log(_roomsWalls)
 
   if (test_debugger) {
     window.testCenterPoints && cad.processing.render.remove(...window.testCenterPoints)