Skip to content

Commit

Permalink
Editor: Fix geometry sidebar.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Feb 24, 2020
1 parent d2811b6 commit 5695832
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion editor/js/Sidebar.Geometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,14 @@ var SidebarGeometry = function ( editor ) {

}

signals.objectSelected.add( build );
signals.objectSelected.add( function () {

currentGeometryType = null;

build();

} );

signals.geometryChanged.add( build );

return container;
Expand Down

0 comments on commit 5695832

Please sign in to comment.