@react-three/fiber 8.13.6 → 8.13.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @react-three/fiber
2
2
 
3
+ ## 8.13.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 37b9502a: fix(Canvas): pass scene prop
8
+
3
9
  ## 8.13.6
4
10
 
5
11
  ### Patch Changes
@@ -141,6 +141,7 @@ const CanvasImpl = /*#__PURE__*/React__namespace.forwardRef(function Canvas({
141
141
  performance,
142
142
  raycaster,
143
143
  camera,
144
+ scene,
144
145
  onPointerMissed,
145
146
  onCreated,
146
147
  ...props
@@ -187,6 +188,7 @@ const CanvasImpl = /*#__PURE__*/React__namespace.forwardRef(function Canvas({
187
188
  performance,
188
189
  raycaster,
189
190
  camera,
191
+ scene,
190
192
  size: containerRect,
191
193
  // Pass mutable reference to onPointerMissed so it's free to update
192
194
  onPointerMissed: (...args) => handlePointerMissed.current == null ? void 0 : handlePointerMissed.current(...args),
@@ -141,6 +141,7 @@ const CanvasImpl = /*#__PURE__*/React__namespace.forwardRef(function Canvas({
141
141
  performance,
142
142
  raycaster,
143
143
  camera,
144
+ scene,
144
145
  onPointerMissed,
145
146
  onCreated,
146
147
  ...props
@@ -187,6 +188,7 @@ const CanvasImpl = /*#__PURE__*/React__namespace.forwardRef(function Canvas({
187
188
  performance,
188
189
  raycaster,
189
190
  camera,
191
+ scene,
190
192
  size: containerRect,
191
193
  // Pass mutable reference to onPointerMissed so it's free to update
192
194
  onPointerMissed: (...args) => handlePointerMissed.current == null ? void 0 : handlePointerMissed.current(...args),
@@ -114,6 +114,7 @@ const CanvasImpl = /*#__PURE__*/React.forwardRef(function Canvas({
114
114
  performance,
115
115
  raycaster,
116
116
  camera,
117
+ scene,
117
118
  onPointerMissed,
118
119
  onCreated,
119
120
  ...props
@@ -160,6 +161,7 @@ const CanvasImpl = /*#__PURE__*/React.forwardRef(function Canvas({
160
161
  performance,
161
162
  raycaster,
162
163
  camera,
164
+ scene,
163
165
  size: containerRect,
164
166
  // Pass mutable reference to onPointerMissed so it's free to update
165
167
  onPointerMissed: (...args) => handlePointerMissed.current == null ? void 0 : handlePointerMissed.current(...args),
@@ -251,6 +251,7 @@ const CanvasImpl = /*#__PURE__*/React__namespace.forwardRef(({
251
251
  performance,
252
252
  raycaster,
253
253
  camera,
254
+ scene,
254
255
  onPointerMissed,
255
256
  onCreated,
256
257
  ...props
@@ -330,6 +331,7 @@ const CanvasImpl = /*#__PURE__*/React__namespace.forwardRef(({
330
331
  performance,
331
332
  raycaster,
332
333
  camera,
334
+ scene,
333
335
  // expo-gl can only render at native dpr/resolution
334
336
  // https://github.com/expo/expo-three/issues/39
335
337
  dpr: reactNative.PixelRatio.get(),
@@ -251,6 +251,7 @@ const CanvasImpl = /*#__PURE__*/React__namespace.forwardRef(({
251
251
  performance,
252
252
  raycaster,
253
253
  camera,
254
+ scene,
254
255
  onPointerMissed,
255
256
  onCreated,
256
257
  ...props
@@ -330,6 +331,7 @@ const CanvasImpl = /*#__PURE__*/React__namespace.forwardRef(({
330
331
  performance,
331
332
  raycaster,
332
333
  camera,
334
+ scene,
333
335
  // expo-gl can only render at native dpr/resolution
334
336
  // https://github.com/expo/expo-three/issues/39
335
337
  dpr: reactNative.PixelRatio.get(),
@@ -224,6 +224,7 @@ const CanvasImpl = /*#__PURE__*/React.forwardRef(({
224
224
  performance,
225
225
  raycaster,
226
226
  camera,
227
+ scene,
227
228
  onPointerMissed,
228
229
  onCreated,
229
230
  ...props
@@ -303,6 +304,7 @@ const CanvasImpl = /*#__PURE__*/React.forwardRef(({
303
304
  performance,
304
305
  raycaster,
305
306
  camera,
307
+ scene,
306
308
  // expo-gl can only render at native dpr/resolution
307
309
  // https://github.com/expo/expo-three/issues/39
308
310
  dpr: PixelRatio.get(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-three/fiber",
3
- "version": "8.13.6",
3
+ "version": "8.13.7",
4
4
  "description": "A React renderer for Threejs",
5
5
  "keywords": [
6
6
  "react",