diff --git a/web/app/3d/modeler-app.js b/web/app/3d/modeler-app.js index 53777c7b..69b8cc2e 100644 --- a/web/app/3d/modeler-app.js +++ b/web/app/3d/modeler-app.js @@ -160,7 +160,8 @@ App.prototype.sketchSelectedFace = function() { if (this.viewer.selectionMgr.selection.length == 0) { return; } - var polyFace = this.viewer.selectionMgr.selection[0]; + const polyFace = this.viewer.selectionMgr.selection[0]; + this.sketchFace(polyFace); }; App.prototype.sketchFace = function(polyFace) {