Feature/layerfix drag drop (#225)

This commit is contained in:
Miles Ryan authored and GitHub committed 2024-04-24 20:28:03 -04:00
1 parent 2fec64a02d
commit c20348efa6
1 file changed
+2
+2
View File
@@ -230,6 +230,8 @@ 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(