Aria Minaei
e6a4f3ae3f
Implemented useRefreshSnapshot()
and <RefreshSnapshot />
2021-08-08 22:38:03 +02:00
Aria Minaei
d1fb0300e0
R3F now uses a single sheet in studio
2021-08-08 22:25:48 +02:00
Aria Minaei
b08588e9d6
Extensions can now use studio's project for editing-related objects.
2021-08-08 21:33:10 +02:00
Aria Minaei
7bc23d19e6
Better default position for SnapshotEditor's camera
2021-08-08 10:25:11 +02:00
Aria Minaei
1497eaf610
WIP: Getting r3f to work with create-react-app
...
* Temporarily disabled ESM bundles because the current setup confuses webpack4 (but not parceljs). Since create-react-app uses webpack4, not doing this would make theatre incompatible with CRA.
2021-08-07 21:41:07 +02:00
Aria Minaei
7c759f2f6d
Made plugin-r3f render on demand
2021-08-07 21:17:29 +02:00
Aria Minaei
2daa270879
UX improvements
...
* When clicking on empty space in the snapshot editor, the selection reverts to the sheet containing the scene
2021-07-31 15:10:08 +02:00
Aria Minaei
274022100a
Removed cam.aspect from the props
2021-07-30 16:31:40 +02:00
Aria Minaei
65463dfdc6
deprecate bindToCanvas() in favor of <Wrapper>
2021-07-30 16:31:18 +02:00
Aria Minaei
e108caee93
Added other props to SnapshotEditor Camera
2021-07-30 12:14:47 +02:00
Aria Minaei
215cd880f0
UX Improvements
...
* The cam state of SnapshotEditor cameras now persist
* Title bar for the prop editor
* Cleaned up the toolbar
2021-07-30 10:59:59 +02:00
Aria Minaei
2a773b4100
Housekeeping
2021-07-22 22:11:26 +02:00
Aria Minaei
1444c61d64
Moved all of r3f's UI elements to Studio
2021-07-22 21:56:45 +02:00
Aria Minaei
ff0f8d557b
Implement ToolbarSwitchSelect
2021-07-22 21:53:56 +02:00
Aria Minaei
20603afd40
Implement ToolbarIconButton
2021-07-22 21:26:34 +02:00
Aria Minaei
067a7cb145
Various improvements to SnapshotEditor
2021-07-16 15:06:15 +02:00
Aria Minaei
232ffa7836
Range indicator for the number editor
2021-07-16 11:08:39 +02:00
Aria Minaei
64273366ed
Put SnapshotEditor inside a Pane
2021-07-14 18:37:32 +02:00
Aria Minaei
921bc44270
Implement studio.globalToolbar
2021-07-13 16:13:15 +02:00
Aria Minaei
86547aa4cb
Moved r3f's toolbar out of the snapshot editor
2021-07-10 12:15:27 +02:00
Aria Minaei
230225ed2c
Group editor's props into compound props (r3f)
2021-07-07 16:39:53 +02:00
Aria Minaei
a4f83e0f84
Implemented types.stringLiteral(.., {as})
2021-07-06 21:58:38 +02:00
Aria Minaei
97ce94d52a
Made signature of types.stringLiteral() a bit more ergonomic
2021-07-06 16:50:43 +02:00
Aria Minaei
dc69628eac
Remove ReferenceWindow from r3f
2021-07-05 18:43:48 +02:00
Aria Minaei
22cb5542bc
Disabled orbit control damping in r3f
2021-07-05 18:39:57 +02:00
Aria Minaei
8395e44614
Finished switching to styled-components in r3f
2021-07-04 20:37:55 +02:00
Aria Minaei
596b7e9d81
Migrated more of r3f to styled-components
2021-07-04 19:49:36 +02:00
Aria Minaei
b109dca19b
Started using styled-components in r3f
2021-07-04 19:14:00 +02:00
Aria Minaei
16434644dc
Removed more unused code from r3f
2021-07-04 18:23:27 +02:00
Aria Minaei
532e24e691
Removed the open/close button from r3f
2021-07-04 18:11:43 +02:00
Aria Minaei
d0c4dd4ec7
Removed a bunch of unused code from r3f
2021-07-04 18:07:24 +02:00
Aria Minaei
2a671b129d
Chore: Simplified ISheet's signature
2021-07-03 15:36:00 +02:00
Aria Minaei
d161703c20
Chore: Simplified r3f a little bit
2021-07-03 15:16:18 +02:00
Aria Minaei
ffb8a24f07
Chore: Moved r3f's viewportShading to Theatre
2021-07-03 15:08:14 +02:00
Aria Minaei
89913ac51f
Chore: Moved r3f's transformControls* to Theatre
2021-07-03 15:04:06 +02:00
Aria Minaei
9809042762
Chore: Moved r3f's referenceWindowSize to Theatre
2021-07-03 13:36:47 +02:00
Aria Minaei
20b57011c3
Chore: Moved r3f's showOverlayGrid to Theatrte
2021-07-03 13:28:35 +02:00
Aria Minaei
8472cf259c
Chore: Moved r3f's showGrid to Theatre
2021-07-03 13:24:39 +02:00
Aria Minaei
399c12f2d1
Chore: Moved r3f's showAxes to Theatre
2021-07-03 13:20:40 +02:00
Aria Minaei
d0e9d357e7
Chore: r3f only uses Theatre's selections now
2021-07-03 13:14:47 +02:00
Aria Minaei
160448ec29
Use types.boolean() for booleans in r3f
2021-07-02 20:47:54 +02:00
Aria Minaei
6ac6aa87d7
New: Store the editorOpen state in Theatre
2021-07-02 20:43:25 +02:00
Aria Minaei
06ff052797
WIP: Move r3f's UI state to Theatre - 1
2021-06-29 16:00:27 +02:00
Aria Minaei
636e7fe82a
Chore: Simplified object config in r3f
2021-06-29 15:47:27 +02:00
Aria Minaei
d416da5a2f
Chore: Small refactor of r3f's store
2021-06-29 15:39:47 +02:00
Aria Minaei
94261107fb
Chore: Removed more unused code from r3f
2021-06-29 15:15:14 +02:00
Aria Minaei
02d5f6c9c4
Chore: Removed some unused code
2021-06-29 15:08:02 +02:00
Aria Minaei
040317f53b
Chore: Removed file-saver from plugin-r3f
2021-06-29 15:00:20 +02:00
Aria Minaei
0d2ae56519
Fix some spelling mistakes
2021-06-18 14:32:01 +02:00
Aria Minaei
4a7303f40a
Initial OSS commit
2021-06-18 13:05:06 +02:00