Commit Graph
624 Commits
Author SHA1 Message Date
sudhir a05573b602 Make spawn renderer editor-agnostic 2026-04-29 13:25:20 +05:30
sudhir 8c10b9280d Exclude spawn points from level duplication 2026-04-29 13:09:26 +05:30
sudhir e761084635 Normalize root scene nodes and fix level duplication 2026-04-29 12:53:40 +05:30
Sudhir YadavandGitHub 9ff657419c Merge branch 'main' into feat/upgrade-and-bug-fix 2026-04-29 10:49:11 +05:30
sudhir e688792c34 Refactor first-person and spawn selection handling 2026-04-29 10:35:34 +05:30
sudhir 4796ed8262 Use slider controls for stair geometry settings 2026-04-29 10:16:56 +05:30
2b588cd30f fix: WebGPU renderer race on Canvas remount & duplicate item scale loss (#284)
Backport from monorepo PR #310 (fix/april-pass):

1. WebGPU renderer race on Canvas remount
   Cache the in-flight WebGPURenderer promise per canvas element so
   concurrent configure() calls from R3F's useLayoutEffect await the
   same init() instead of creating duplicate renderers. Fixes
   intermittent 'resolve target size does not match' errors when
   navigating between projects and home.

2. Duplicate item loses its scale
   Add scale to the field set in useDraftNode.commit() so duplicated
   items preserve their original scale instead of falling back to
   [1,1,1].

Co-authored-by: Pascal <open@pascal.app>
2026-04-28 12:42:08 -04:00
Wassim SAMADandGitHub e615815e65 Merge pull request #283 from pascalorg/chore/floorplan-thumbnails
items catalog + floorplan image update
2026-04-28 10:15:40 -04:00
wass08 a017c112e7 items catalog + floorplan image update 2026-04-28 10:14:36 -04:00
aa43bb6a43 feat: backport monorepo PRs #297, #302, #306 — floorplan thumbnails + mobile editor UI
Port floorplan item thumbnails, full mobile editor UI, and
mobile polish from the private monorepo into the public editor.

Monorepo PR #297 (feat/item-admin-advanced):
- Add optional floorPlanUrl to item asset schema (core)
- Render 2D floor-plan images inside item footprints on floorplan
- Improve slider drag with modifier key re-anchoring

Monorepo PR #302 (feat/mobile-ui):
- Mobile editor layout with draggable bottom sheet
- Mobile tab bar, selection bar, and panel sheet
- Mobile-aware panel manager and panel wrapper
- useIsMobile rewrite (useSyncExternalStore, SSR-safe)
- Camera actions hideOrbit prop
- GridSnapControl and SecondaryToggles exports
- Action menu hides on mobile contextual tabs
- SidebarTab extended with mobileDefaultSnap/mobileIcon

Monorepo PR #306 (feat/mobile-ui-polish):
- Touch gesture mapping for camera controls (one/two/three finger)
- Snap ratio constants for bottom sheet
- Thumbnail generator WebGL2 fallback (bottom-up row flip)
- ErrorBoundary scope logging, viewer scene wrap
- GPUDeviceWatcher enhanced logging and uncaptured error handler
- WebGPURenderer init error handling and diagnostics
- Post-processing log improvements
- MergedOutlineNode WebGL2 FBO corruption fix

Excluded: apps/community/*, apps/editor/*, packages/community-*,
.cursor/*, .env.example (monorepo-only files)

Co-authored-by: Pascal <open@pascal.app>
2026-04-28 06:36:08 -07:00
Wassim SAMADandGitHub 010c874963 Merge pull request #277 from sudhir9297/feat/2d-editor
Feat/2d editor
2026-04-28 07:36:05 -04:00
wass08 758f06454c Rename mesh metadata polygon key to drop floorplan prefix 2026-04-28 07:31:52 -04:00
sudhir 15daeaace6 Standardize stair controls on slider inputs 2026-04-28 14:50:51 +05:30
Sudhir YadavandGitHub 1c2746f538 Merge branch 'main' into feat/upgrade-and-bug-fix 2026-04-28 14:37:10 +05:30
sudhir bead8796d2 Add spawn node support and refine stair and door cutouts 2026-04-28 14:26:24 +05:30
sudhir 025a9b5d28 Add duplicate options to level menus 2026-04-28 11:09:51 +05:30
sudhir a64d6b86cc Fix floorplan preview update loop 2026-04-28 09:52:10 +05:30
Aymeric RabotandGitHub f093cbdf3c Merge pull request #264 from AdrianPerez3/feat/mcp-server 2026-04-27 14:22:45 -07:00
Aymeric Rabot 0711cad660 Merge remote-tracking branch 'origin/main' into feat/mcp-server 2026-04-27 17:22:14 -04:00
Aymeric Rabot 8dfd1a9429 fix(mcp): add shared operations and secure scene APIs 2026-04-27 17:10:25 -04:00
Aymeric Rabot 058ee747c9 fix(mcp): distinguish roof support levels from stories 2026-04-27 16:45:27 -04:00
Aymeric Rabot 3d5c87a651 feat(mcp): add guided construction workflows 2026-04-27 14:31:04 -04:00
Sudhir YadavandGitHub bc93f09304 Merge branch 'main' into feat/2d-editor 2026-04-27 18:07:28 +05:30
Wassim SAMADandGitHub 5607671d25 Merge pull request #280 from pascalorg/chore/review-architecture-skill
review architecture skill
2026-04-27 08:11:44 -04:00
wass08 f7d65acd0d review architecture skill 2026-04-27 08:08:15 -04:00
sudhir d00ba42b9f Enable drag after duplicating roofs and stairs 2026-04-27 13:32:31 +05:30
sudhir 3ae8d6d0fa Extract floorplan placement and hit-testing helpers 2026-04-27 12:18:27 +05:30
sudhir a796c0fd0a Move item dimensions into local item overlays 2026-04-27 10:57:50 +05:30
sudhir e4f42e0ee5 Use bbox anchors for item dimension measurements 2026-04-27 10:49:20 +05:30
sudhir 59779c5bf2 Use mesh bounds for item placement and floorplan 2026-04-27 09:57:05 +05:30
sudhir 45f0867a74 Extract floorplan render logic into editor 2D modules 2026-04-26 23:02:03 +05:30
Aymeric Rabot b3d1f663f6 fix(mcp): use local sqlite scene storage 2026-04-24 13:32:04 -07:00
Wassim SAMADandGitHub 47d6a70192 Merge pull request #271 from sudhir9297/feat/color-picker-tool
Feat/color picker tool
2026-04-24 14:54:33 -04:00
sudhir 275a42cc7f Simplify paint material compatibility logic 2026-04-25 00:15:29 +05:30
sudhir cb268509ea Invalidate viewer on hover style updates 2026-04-25 00:06:31 +05:30
sudhir d36441fa47 Add hover highlights to paint interactions 2026-04-24 23:29:34 +05:30
sudhir 2b656bcf8b Remove editor hover styles from viewer defaults 2026-04-24 23:05:14 +05:30
sudhir 325f2e4603 Refactor viewer hover styles and remove preview state 2026-04-24 22:49:04 +05:30
sudhir 7297c76204 Use paint icon for material mode 2026-04-24 12:50:05 +05:30
sudhir ed4d6dbdef Fix 2D floorplan placement and ceiling drawing coords 2026-04-24 12:45:12 +05:30
sudhir 83e1c9d1fd Align floorplan drawing with local build coordinates 2026-04-24 12:39:36 +05:30
sudhir a5448a0053 Make material categories horizontally scrollable 2026-04-24 10:43:38 +05:30
sudhir 2876f39876 Refactor paint materials to use category-based compatibility 2026-04-23 12:48:50 +05:30
sudhir 88b2f095f1 Merge branch 'feat/color-picker-tool' of github.com:sudhir9297/editor into feat/color-picker-tool 2026-04-23 10:26:54 +05:30
sudhir 4483957a0d Remove material pickers from side panels 2026-04-23 10:21:33 +05:30
sudhir fb3de8debc Refactor material paint preview handling 2026-04-22 18:16:20 +05:30
Sudhir YadavandGitHub 8fde99e7c9 Merge branch 'main' into feat/color-picker-tool 2026-04-22 17:57:26 +05:30
sudhir 1492e5bd0c Add roof drag controls to the 2D floorplan 2026-04-22 17:24:58 +05:30
sudhir a69591670d Refactor floorplan wall visuals and shared plan helpers 2026-04-22 15:34:22 +05:30
sudhir 87dfdf1b38 Add paint hover previews to viewer 2026-04-22 10:52:35 +05:30