feat: Add MaterialInstances component for rendering animated materials based on active curves
refactor: Clean up console logs in ProcessAnimator for better readability fix: Update group visibility logic in Agv and PathNavigator components
This commit is contained in:
@@ -79,8 +79,9 @@ const Agv: React.FC<ProcessContainerProps> = ({
|
||||
return (
|
||||
<>
|
||||
{pathPoints.map((pair, i) => (
|
||||
<group key={i} visible={!isPlaying}>
|
||||
<group key={i}>
|
||||
<PathNavigator
|
||||
key={i}
|
||||
navMesh={navMesh}
|
||||
pathPoints={pair.points}
|
||||
id={pair.modelUuid}
|
||||
|
||||
@@ -185,7 +185,7 @@ export default function PathNavigator({
|
||||
function logAgvStatus(id: string, status: string) {
|
||||
// console.log(
|
||||
// `AGV ${id}: ${status}`
|
||||
|
||||
|
||||
// );
|
||||
}
|
||||
|
||||
@@ -456,7 +456,7 @@ export default function PathNavigator({
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<group name="path-navigator-lines" visible={!isPlaying}>
|
||||
<group name="path-navigator-lines">
|
||||
{toPickupPath.length > 0 && (
|
||||
<Line
|
||||
points={toPickupPath}
|
||||
|
||||
Reference in New Issue
Block a user