modified superpositions to get only one superposition by mapitem
This commit is contained in:
@@ -1139,13 +1139,13 @@ export default {
|
||||
|
||||
// console.log('superposition', superposition_id, superposition);
|
||||
let mapitemA_id, mapitemB_id;
|
||||
if (i === 1) {
|
||||
mapitemA_id = superposition[0].cid
|
||||
mapitemB_id = superposition[1].cid
|
||||
} else {
|
||||
// if (i === 1) {
|
||||
// mapitemA_id = superposition[0].cid
|
||||
// mapitemB_id = superposition[1].cid
|
||||
// } else {
|
||||
mapitemA_id = `${superposition[0].cid}___${superposition_id}`
|
||||
mapitemB_id = `${superposition[1].cid}___${superposition_id}`
|
||||
}
|
||||
// }
|
||||
|
||||
|
||||
// get the concernement matter bodies with id
|
||||
|
||||
Reference in New Issue
Block a user