@quenty/viewport 5.1.1 → 5.2.0
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 +11 -0
- package/package.json +4 -4
- package/src/Client/Viewport.lua +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/viewport@5.1.1...@quenty/viewport@5.2.0) (2022-10-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Viewport would not render on first pass ([4125b0a](https://github.com/Quenty/NevermoreEngine/commit/4125b0a37943c16732afef13b44cc8207c2be565))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [5.1.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/viewport@5.1.0...@quenty/viewport@5.1.1) (2022-10-16)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/viewport",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Rendering functionality for viewportFrames",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@quenty/adorneeutils": "^3.0.0",
|
|
28
28
|
"@quenty/baseobject": "^6.0.0",
|
|
29
29
|
"@quenty/basicpane": "^7.1.0",
|
|
30
|
-
"@quenty/blend": "^6.
|
|
31
|
-
"@quenty/camera": "^9.
|
|
30
|
+
"@quenty/blend": "^6.2.0",
|
|
31
|
+
"@quenty/camera": "^9.2.0",
|
|
32
32
|
"@quenty/geometryutils": "^2.2.0",
|
|
33
33
|
"@quenty/inputobjectutils": "^4.0.0",
|
|
34
34
|
"@quenty/loader": "^6.0.0",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@quenty/insertserviceutils": "^6.0.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "f167412233d2a0bcb7f91bdc6aa2f3c754bdbe79"
|
|
49
49
|
}
|
package/src/Client/Viewport.lua
CHANGED
|
@@ -190,7 +190,9 @@ function Viewport:Render(props)
|
|
|
190
190
|
self._fieldOfView,
|
|
191
191
|
self._rotationYawSpring:ObserveRenderStepped(),
|
|
192
192
|
self._rotationPitchSpring:ObserveRenderStepped(),
|
|
193
|
-
Rx.fromSignal(self._notifyInstanceSizeChanged)
|
|
193
|
+
Rx.fromSignal(self._notifyInstanceSizeChanged):Pipe({
|
|
194
|
+
Rx.defaultsToNil;
|
|
195
|
+
}),
|
|
194
196
|
function(inst, absSize, fov, rotationYaw, rotationPitch)
|
|
195
197
|
if typeof(inst) ~= "Instance" then
|
|
196
198
|
return CFrame.new()
|