Files
Krishnan RamachandranandClaude Sonnet 4.6 e8e7ad545c feat: node auto-sizing, wheel zoom in viewer, and fix image ordering
- Auto-expand node width to 700px min and recalculate height after all
  thumbnails load (double-rAF) so content no longer overflows the node
- Add mouse wheel zoom (0.5x–10x) in fullscreen viewer with smooth
  transition; resets on image navigation
- Fix image ordering: swap Python loop and JS index formula to mode-outer/
  camera-inner so arrows navigate all cameras per mode, not all modes per camera
- Fix viewer title labels (mode/cam were swapped after reorder)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 15:25:40 +00:00

19 lines
536 B
Python

import shutil
from pathlib import Path
SCRIPT_DIR = Path(__file__).resolve().parent
COMFYUI_DIR = SCRIPT_DIR.parent.parent
dest = COMFYUI_DIR / "input" / "3d"
dest.mkdir(parents=True, exist_ok=True)
print(f"[MeshAudit] Copying assets from {SCRIPT_DIR / 'assets'} to {dest}")
for src in (SCRIPT_DIR / "assets").glob("**/*"):
if src.is_file():
print(f"[MeshAudit] Copying {src.name} ...")
shutil.copy2(src, dest / src.name)
print(f"[MeshAudit] Done: {src.name}")
print("[MeshAudit] Asset copy complete.")