Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { Eye, Grid3X3, Ruler, Trash2, Camera, LayoutGrid, Palette, Box } from 'lucide-react';
|
import { Eye, Grid3X3, Ruler, Trash2, Camera, LayoutGrid, Palette, Box, Move3D } from 'lucide-react';
|
||||||
import { Slider } from '@/components/ui/slider';
|
import { Slider } from '@/components/ui/slider';
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover';
|
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover';
|
||||||
@@ -26,7 +26,10 @@ export function ViewerControls() {
|
|||||||
wireframeColor, setWireframeColor,
|
wireframeColor, setWireframeColor,
|
||||||
wireframeThickness, setWireframeThickness,
|
wireframeThickness, setWireframeThickness,
|
||||||
edgeThresholdAngle, setEdgeThresholdAngle,
|
edgeThresholdAngle, setEdgeThresholdAngle,
|
||||||
|
positionMode, setPositionMode,
|
||||||
|
activeModelId, models,
|
||||||
} = useModelStore();
|
} = useModelStore();
|
||||||
|
const activeModel = models.find(m => m.id === activeModelId);
|
||||||
|
|
||||||
const handleScreenshot = useCallback(() => {
|
const handleScreenshot = useCallback(() => {
|
||||||
const canvas = document.querySelector('canvas');
|
const canvas = document.querySelector('canvas');
|
||||||
|
|||||||
Reference in New Issue
Block a user