feat: per-position camera settings, material alias dialog, product delete, media browser links
- Per-render-position focal_length_mm/sensor_width_mm (DB → pipeline → Blender)
- FOV-based camera distance with min clamp fix for wide-angle lenses
- Unmapped materials blocking dialog on "Dispatch Renders" with batch alias creation
- Material check endpoint (GET /orders/{id}/check-materials)
- Batch alias endpoint (POST /materials/batch-aliases)
- Quick-map "No alias" badges on Materials page
- Full product hard-delete with storage cleanup (MinIO + disk files + orphaned CadFile)
- Delete button on ProductDetail page with confirmation
- Clickable product names in Media Browser (links to product page)
- Single-line render dispatch/retry (POST /orders/{id}/lines/{id}/dispatch-render)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -68,6 +68,8 @@ class RenderPositionCreate(BaseModel):
|
||||
rotation_z: float = 0.0
|
||||
is_default: bool = False
|
||||
sort_order: int = 0
|
||||
focal_length_mm: float | None = None
|
||||
sensor_width_mm: float | None = None
|
||||
|
||||
|
||||
class RenderPositionPatch(BaseModel):
|
||||
@@ -77,6 +79,8 @@ class RenderPositionPatch(BaseModel):
|
||||
rotation_z: float | None = None
|
||||
is_default: bool | None = None
|
||||
sort_order: int | None = None
|
||||
focal_length_mm: float | None = None
|
||||
sensor_width_mm: float | None = None
|
||||
|
||||
|
||||
class RenderPositionOut(BaseModel):
|
||||
@@ -88,6 +92,8 @@ class RenderPositionOut(BaseModel):
|
||||
rotation_z: float
|
||||
is_default: bool
|
||||
sort_order: int
|
||||
focal_length_mm: float | None = None
|
||||
sensor_width_mm: float | None = None
|
||||
created_at: datetime
|
||||
updated_at: datetime
|
||||
|
||||
@@ -101,6 +107,8 @@ class GlobalRenderPositionCreate(BaseModel):
|
||||
rotation_z: float = 0.0
|
||||
is_default: bool = False
|
||||
sort_order: int = 0
|
||||
focal_length_mm: float | None = None
|
||||
sensor_width_mm: float | None = None
|
||||
|
||||
|
||||
class GlobalRenderPositionPatch(BaseModel):
|
||||
@@ -110,6 +118,8 @@ class GlobalRenderPositionPatch(BaseModel):
|
||||
rotation_z: float | None = None
|
||||
is_default: bool | None = None
|
||||
sort_order: int | None = None
|
||||
focal_length_mm: float | None = None
|
||||
sensor_width_mm: float | None = None
|
||||
|
||||
|
||||
class GlobalRenderPositionOut(BaseModel):
|
||||
@@ -120,6 +130,8 @@ class GlobalRenderPositionOut(BaseModel):
|
||||
rotation_z: float
|
||||
is_default: bool
|
||||
sort_order: int
|
||||
focal_length_mm: float | None = None
|
||||
sensor_width_mm: float | None = None
|
||||
created_at: datetime
|
||||
updated_at: datetime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user