Skip to content
Snippets Groups Projects
Commit 37513d99 authored by Mathias Chouet's avatar Mathias Chouet Committed by mathias.chouet
Browse files

PreBarrage: enhance node selection on schema

parent 7f38fe9d
No related branches found
No related tags found
No related merge requests found
...@@ -448,7 +448,7 @@ export class PbSchemaComponent implements AfterViewInit, AfterContentInit, OnIni ...@@ -448,7 +448,7 @@ export class PbSchemaComponent implements AfterViewInit, AfterContentInit, OnIni
const wall = this._selectedItem as PbCloison; const wall = this._selectedItem as PbCloison;
const wallCopy = new PbCloison(wall.bassinAmont, wall.bassinAval); const wallCopy = new PbCloison(wall.bassinAmont, wall.bassinAval);
this.model.addChild(wallCopy); this.model.addChild(wallCopy);
this.unselect(); // @TODO select new wall ? this.unselect();
this.refresh(); this.refresh();
this.selectNodeOnSchema(wallCopy); this.selectNodeOnSchema(wallCopy);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment