Commit graph

768 commits

Author SHA1 Message Date
Andrew Prifer
54ed4c3c41
Improve light support in theatre/r3f (#316)
Add color to all light types and add ambient and hemisphere lights
2022-10-14 13:43:53 +00:00
Andrew Prifer
6497bf2097
Add instant editable cameras to the r3f extension (#315)
Add spruced up editable orthographic/perspective camera
2022-10-13 18:14:53 +00:00
Andrew Prifer
25cf1d7fe8
Apply common sense constraints to window drag and resize (#309)
* Apply common sense constraints to window drag and resize

* Also apply the constraints to FocusRangeZone's panelMoveGestureHandlers
2022-10-07 15:03:05 +00:00
Andrew Prifer
3ec8c20fa6
Warn about (possibly) incorrect custom camera (#308)
Print a warning if people use e.perspectiveCamera or e.orthographicCamera
2022-10-06 14:22:39 +00:00
Aria Minaei
3c3e0a2369 Fix links to the docs repo 2022-09-29 14:11:36 +02:00
Aria Minaei
d0fdd823eb Log instead of warn when studio is initialized already
This should make it a little cleaner when `studio.initialize()` is called in a hot-reloaded module.
2022-09-27 23:32:31 +02:00
Aria Minaei
ca9360fc29 Allow audio files in the playground 2022-09-27 23:32:01 +02:00
Aria Minaei
27ef3cc1c9 Implement playDynamicRange in audio sequences
Fixes #302
2022-09-27 23:32:01 +02:00
Aria Minaei
179c7a8158 Allow audio files in the playground 2022-09-27 23:32:01 +02:00
Aria Minaei
6d49e5977c Remove the warning about SSR mode
It's being misunderstood as an error message https://discord.com/channels/870988717190426644/870988717190426647/1020751857024503828
2022-09-27 23:28:23 +02:00
Aria Minaei
c4862ee6ef Allow re-registering the exact same extension 2022-09-27 23:28:23 +02:00
Aria Minaei
5bb4fc9340 Show more helpful warnings in SSR mode 2022-09-27 23:28:23 +02:00
Aria Minaei
3c9481f1b7 Don't use persistent storage in ssr mode 2022-09-27 23:28:23 +02:00
Ikko Ashimine
4d55ffe087
Fix typo in prerelease.mjs (#299)
lenght -> length
2022-09-17 19:41:18 +02:00
Marco Slooten
629cbd9653
Fixes broken logo in README (#297)
Points the logo's (dark and light mode) to the docs repo instead of the published docs website (where they cannot be found).

Co-authored-by: Aria <aria.minaei@gmail.com>
2022-09-17 19:00:48 +02:00
Aria Minaei
87acdbe9ea 0.5.0 2022-09-17 18:54:11 +02:00
Aria Minaei
c97377d868 0.5.0-rc.4 2022-09-17 18:54:11 +02:00
Aria
d90ca4a34a
Update link to docs (#295) 2022-09-15 12:54:20 +00:00
Elliot
39eb528af4
Add Sheet aggregate track (#284)
* Add Sheet aggregate track

* Update aggregate track keyframe copy algorithm

* Fix keyframe value sanitization

* Fix aggregate selections to be properly undefined

* Fix TS errors

* Remove incorrect comment and improve var name
2022-09-14 16:46:59 +00:00
Andrew Prifer
743254a6c6
Fix popover behavior when popover is open and the trigger is clicked (#211)
* Fix popover behavior when open and clicking on trigger

* Remove console log

* Resolve merge conflicts

* Remove destructuring in favor of property access

* Extract usePopover return type into an interface

* Fix merge
2022-09-14 09:05:09 -04:00
Andrew Prifer
8680f9d89e
Replace uniqueName with theatreKey (#285) 2022-09-14 08:36:49 -04:00
Elliot
ce79d3cd95
Fix ui render call, improve error message (#294) 2022-09-14 12:11:42 +00:00
Elliot
735bd983a5
Fix/0.5-compatability-tests (#293)
* Working changes

* Fix window undefined bug by updating lib

* Fix TransformControlsImpl import

* Fix compatibility tests>simple debuggable examples
2022-09-13 15:37:39 -04:00
Andrew Prifer
494c60d0c3
Require Opt modifier for orbiting (#286) 2022-08-25 19:55:47 +02:00
Elliot
dbe6a6176e
Fix issue window undefined error in bundled studio (#280)
* Fix issue window undefined error in bundled studio

* Fix Studio.ts UI import
2022-08-19 14:25:22 +00:00
Elliot
898c3b7a48
Add alt key precision nudging to number input (#282)
* Add alt key precision nudging to number input

* Change shift + scrub scrub modifier to 1/10
2022-08-19 14:19:22 +00:00
Elliot
a871aa628f Revert "Handle requestPointerLock error cases in iframes P-199 (#272)"
This reverts commit 2ef9d5e346.
2022-08-17 16:14:36 -04:00
Andrew Prifer
14603bccbd
Make transform controls only update the props that are being manipulated in the current mode of the transform controls (#279)
Only update the transform that is being manipulated in the current mode
2022-08-15 15:15:37 +00:00
vezwork
766c55f9e7 Fix dopesheet-left prop labels 2022-08-11 14:40:09 -04:00
vezwork
0875b785ce Fix indentation in aggregate editor popover
Co-authored-by: Fülöp <fulopkovacs@users.noreply.github.com>
2022-08-11 14:15:57 -04:00
vezwork
047f01bb45 Change DeterminePropEditor... to take an array
- Add autoFocus to prop inputs
2022-08-11 14:15:57 -04:00
vezwork
38e6a4ba36 WIP aggregate editing popover working but !clean 2022-08-11 14:15:57 -04:00
Cole Lawrence
069902e054 Make derivation keepHot when using obj.value P-217
See https://linear.app/theatre/issue/P-217/if-objvalue-is-read-make-sure-i
2022-08-05 10:30:13 -04:00
Cole Lawrence
e0c9626d68 dev: Add "reading obj value" playground test 2022-08-05 10:30:13 -04:00
Cole Lawrence
c00144464d dev: Fix playground scroll y on home page 2022-08-05 10:30:13 -04:00
vezwork
fdf268ad43 Add comments and remove extra performance measure
Co-authored-by: Cole Lawrence <cole@colelawrence.com>
2022-08-04 13:34:08 -04:00
Cole Lawrence
62def1e883 Add r3f stress + Ticker.__ticks counter 2022-08-04 13:34:08 -04:00
Cole Lawrence
ea3e7434c6 Fix e2e visual regression tests by always showing Updates badge in CI
- ensure that window.__IS_VISUAL_REGRESSION_TESTING is true when CI=1
2022-08-03 11:38:44 -04:00
Cole Lawrence
963b03ab6e dev: Add warning for unbound .tick() call 2022-08-03 11:38:44 -04:00
Cole Lawrence
74b338ac17 refactor: Remove unecessary data-header & ?? noop for event listener 2022-08-03 11:38:44 -04:00
Cole Lawrence
704f74a2c5 typo: Remove unused keyframe in destructure 2022-08-03 11:38:44 -04:00
Cole Lawrence
a0994051d6 GraphEditorToggle: Remove unecessary sheet access 2022-08-03 11:38:44 -04:00
Cole Lawrence
63056c5a58 fix validate path call (warning) & playground dom: Fix namespace warning 2022-08-03 11:38:44 -04:00
Cole Lawrence
efc33d4989 Remove unused className on OutlinePanel 2022-08-03 11:38:44 -04:00
Cole Lawrence
4de899b2ae Remove dead code, simply inset 2022-08-03 11:38:44 -04:00
Cole Lawrence
a4b24313a0 fix: deriver props type checking 2022-08-03 11:38:44 -04:00
Cole Lawrence
2ef9d5e346
Handle requestPointerLock error cases in iframes P-199 (#272)
See https://linear.app/theatre/issue/P-199/dont-use-pointer-lock-when-in-an-iframe
2022-08-03 13:55:09 +00:00
Cole Lawrence
8bd37a28d6 r3f fix: Pinching creates more than one undo level in r3f P-202
See https://linear.app/theatre/issue/P-202/pinching-creates-more-than-one-undo-level-in-r3f-history-bug
2022-08-02 16:06:15 -04:00
Cole Lawrence
56a059fdd2 Remove REMOVEME.md dev file 2022-07-28 09:51:51 -04:00
vezwork
1459163420 Fix compound props showing wrong control indicator 2022-07-26 10:22:08 -04:00