mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-11 12:23:20 +00:00
Revert "Feature/layerfix drag drop" (#226)
Reverts storytold/GottaGoFast#225
This commit is contained in:
1 parent
c20348efa6
commit
e93c06cf93
1 file changed
-2
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user