Update AGENTS.md and ViewportCanvas.tsx for project package details
This commit is contained in:
@@ -89,14 +89,14 @@ export function ViewportCanvas({
|
||||
hostRef.current?.updateWorld(world);
|
||||
}, [world]);
|
||||
|
||||
useEffect(() => {
|
||||
hostRef.current?.updateDocument(sceneDocument, selection);
|
||||
}, [sceneDocument, selection]);
|
||||
|
||||
useEffect(() => {
|
||||
hostRef.current?.updateAssets(projectAssets, loadedModelAssets);
|
||||
}, [projectAssets, loadedModelAssets]);
|
||||
|
||||
useEffect(() => {
|
||||
hostRef.current?.updateDocument(sceneDocument, selection);
|
||||
}, [sceneDocument, selection]);
|
||||
|
||||
useEffect(() => {
|
||||
hostRef.current?.setBrushSelectionChangeHandler(onSelectionChange);
|
||||
}, [onSelectionChange]);
|
||||
|
||||
Reference in New Issue
Block a user