contour concernement historique bug fix #2326
This commit is contained in:
		| @@ -571,7 +571,7 @@ export default { | |||||||
|     resetPaperActiveRevision(){ |     resetPaperActiveRevision(){ | ||||||
|       console.log('resetPaperActiveRevision'); |       console.log('resetPaperActiveRevision'); | ||||||
|        |        | ||||||
|       this.getJarvisEnvelopeConvexeEntites(this.concernement.revisions_byid[this.concernement.revision_id].entites); |       this.sailentEntites = this.getJarvisEnvelopeConvexeEntites(this.concernement.revisions_byid[this.concernement.active_revision].entites); | ||||||
|        |        | ||||||
|       // remove contours if already exists |       // remove contours if already exists | ||||||
|       if (this.paper_main_object.children.contours) { |       if (this.paper_main_object.children.contours) { | ||||||
| @@ -678,6 +678,7 @@ export default { | |||||||
|       return segments; |       return segments; | ||||||
|     }, |     }, | ||||||
|     setPaperContour(){ |     setPaperContour(){ | ||||||
|  |       console.log('setPaperContour, this.sailentEntites', this.sailentEntites); | ||||||
|       // convert sailent entites to x,y points |       // convert sailent entites to x,y points | ||||||
|       let points = []; |       let points = []; | ||||||
|       this.sailentEntites.forEach(entite => { |       this.sailentEntites.forEach(entite => { | ||||||
| @@ -737,7 +738,7 @@ export default { | |||||||
|             break; |             break; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         console.log(`item_type: ${item_type}, symbol_name: ${symbol_name}`); |         // console.log(`item_type: ${item_type}, symbol_name: ${symbol_name}`); | ||||||
|  |  | ||||||
|         let instance = new paper.SymbolItem(this.paper_symbol_definitions[symbol_name]); |         let instance = new paper.SymbolItem(this.paper_symbol_definitions[symbol_name]); | ||||||
|         instance.name = 'entite'; |         instance.name = 'entite'; | ||||||
|   | |||||||
| @@ -36,7 +36,6 @@ export default { | |||||||
|       <svg-icon type="mdi" :path="magnify_path"></svg-icon> |       <svg-icon type="mdi" :path="magnify_path"></svg-icon> | ||||||
|       <span>recherche</span> |       <span>recherche</span> | ||||||
|     </router-link> |     </router-link> | ||||||
|      |  | ||||||
|   </div> |   </div> | ||||||
| </template> | </template> | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user