Enhance material management: add material history tracking and update despawn handler
This commit is contained in:
@@ -83,13 +83,6 @@ function MaterialInstance({ material }: { material: MaterialSchema }) {
|
||||
}
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
if (material.current && material.next) {
|
||||
// console.log('current: ', material.current.pointUuid);
|
||||
// console.log('next: ', material.next.pointUuid);
|
||||
}
|
||||
}, [material])
|
||||
|
||||
const callTrigger = () => {
|
||||
if (!material.next) return;
|
||||
const fromModel = getEventByModelUuid(selectedProduct.productId, material.next.modelUuid);
|
||||
|
||||
Reference in New Issue
Block a user