Revert "Feature/layerfix drag drop" (#226)

Reverts storytold/GottaGoFast#225
This commit is contained in:
ArEnSc authored and GitHub committed 2024-04-24 20:36:57 -04:00
1 parent c20348efa6
commit e93c06cf93
1 file changed
-2
-2
View File
@@ -230,8 +230,6 @@ export class TimeLine {
public getPos() {
const raycaster = new THREE.Raycaster();
raycaster.layers.enable(0);
raycaster.layers.enable(1);
if (this.mouse && this.camera) {
raycaster.setFromCamera(this.mouse, this.camera);
const intersects = raycaster.intersectObjects(