Skip to content
This repository was archived by the owner on Jan 29, 2018. It is now read-only.

Commit 0e6a92b

Browse files
Nope didnt work
1 parent b3834cc commit 0e6a92b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

i/main.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,9 +1414,6 @@ $(document).ready(function() {
14141414
if (typeof(dxfObject) !== 'undefined') {
14151415
scene.remove(dxfObject);
14161416
};
1417-
if (typeof(showDxf) !== 'undefined') {
1418-
scene.remove(showDxf);
1419-
};
14201417
dxfObject = new THREE.Group();
14211418

14221419
row = [];
@@ -1439,10 +1436,7 @@ $(document).ready(function() {
14391436

14401437
//dxfObject.translateX(laserxmax /2 * -1);
14411438
//dxfObject.translateY(laserymax /2 * -1);
1442-
var showDxf = dxfObject.clone();
1443-
showDxf.translateX(laserxmax /2 * -1);
1444-
showDxf.translateY(laserymax /2 * -1);
1445-
scene.add(showDxf);
1439+
scene.add(dxfObject);
14461440

14471441
Array.prototype.unique = function()
14481442
{

0 commit comments

Comments
 (0)