diff options
Diffstat (limited to 'js/helper-classes/3D/snap-manager.js')
-rwxr-xr-x | js/helper-classes/3D/snap-manager.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/js/helper-classes/3D/snap-manager.js b/js/helper-classes/3D/snap-manager.js index 27a95941..346ad014 100755 --- a/js/helper-classes/3D/snap-manager.js +++ b/js/helper-classes/3D/snap-manager.js | |||
@@ -1810,8 +1810,8 @@ var SnapManager = exports.SnapManager = Montage.create(Component, { | |||
1810 | hSnap.setScreenPoint( scrPt ); | 1810 | hSnap.setScreenPoint( scrPt ); |
1811 | hSnap.setType( hSnap.SNAP_TYPE_ALIGN_MERGED ); | 1811 | hSnap.setType( hSnap.SNAP_TYPE_ALIGN_MERGED ); |
1812 | hSnap.setElement( stage ); | 1812 | hSnap.setElement( stage ); |
1813 | hSnap.setPlane( [0,0,1,0] ); | 1813 | //hSnap.setPlane( [0,0,1,0] ); |
1814 | hSnap.setPlaneMatrix( Matrix.I(4) ); | 1814 | //hSnap.setPlaneMatrix( Matrix.I(4) ); |
1815 | if (vSnap.hasAssociatedScreenPoint() ) | 1815 | if (vSnap.hasAssociatedScreenPoint() ) |
1816 | hSnap.setAssociatedScreenPoint( vSnap.getAssociatedScreenPoint() ); | 1816 | hSnap.setAssociatedScreenPoint( vSnap.getAssociatedScreenPoint() ); |
1817 | if (vSnap.hasAssociatedScreenPoint2() ) | 1817 | if (vSnap.hasAssociatedScreenPoint2() ) |
@@ -1859,8 +1859,8 @@ var SnapManager = exports.SnapManager = Montage.create(Component, { | |||
1859 | hSnap.setScreenPoint( scrPt ); | 1859 | hSnap.setScreenPoint( scrPt ); |
1860 | hSnap.setType( hSnap.SNAP_TYPE_ALIGN_MERGED ); | 1860 | hSnap.setType( hSnap.SNAP_TYPE_ALIGN_MERGED ); |
1861 | hSnap.setElement( stage ); | 1861 | hSnap.setElement( stage ); |
1862 | hSnap.setPlane( [0,0,1,0] ); | 1862 | //hSnap.setPlane( [0,0,1,0] ); |
1863 | hSnap.setPlaneMatrix( Matrix.I(4) ); | 1863 | //hSnap.setPlaneMatrix( Matrix.I(4) ); |
1864 | if (vSnap.hasAssociatedScreenPoint() ) | 1864 | if (vSnap.hasAssociatedScreenPoint() ) |
1865 | hSnap.setAssociatedScreenPoint( vSnap.getAssociatedScreenPoint() ); | 1865 | hSnap.setAssociatedScreenPoint( vSnap.getAssociatedScreenPoint() ); |
1866 | if (vSnap.hasAssociatedScreenPoint2() ) | 1866 | if (vSnap.hasAssociatedScreenPoint2() ) |
@@ -1914,8 +1914,8 @@ var SnapManager = exports.SnapManager = Montage.create(Component, { | |||
1914 | hSnap.setScreenPoint( scrPt ); | 1914 | hSnap.setScreenPoint( scrPt ); |
1915 | hSnap.setType( hSnap.SNAP_TYPE_ALIGN_MERGED ); | 1915 | hSnap.setType( hSnap.SNAP_TYPE_ALIGN_MERGED ); |
1916 | hSnap.setElement( stage ); | 1916 | hSnap.setElement( stage ); |
1917 | hSnap.setPlane( [0,0,1,0] ); | 1917 | //hSnap.setPlane( [0,0,1,0] ); |
1918 | hSnap.setPlaneMatrix( Matrix.I(4) ); | 1918 | //hSnap.setPlaneMatrix( Matrix.I(4) ); |
1919 | if (vSnap.hasAssociatedScreenPoint() ) | 1919 | if (vSnap.hasAssociatedScreenPoint() ) |
1920 | hSnap.setAssociatedScreenPoint( vSnap.getAssociatedScreenPoint() ); | 1920 | hSnap.setAssociatedScreenPoint( vSnap.getAssociatedScreenPoint() ); |
1921 | if (vSnap.hasAssociatedScreenPoint2() ) | 1921 | if (vSnap.hasAssociatedScreenPoint2() ) |