Bjorn
ac13373a1c
Merge pull request #357 from alloverse/fix/bigsur-m1
...
Fixes for Big Sur and M1
2021-01-12 12:36:55 -07:00
Nevyn Bengtsson
8108b6aa5a
Switch luajit GC and remove image_base settings
...
to fix dyld shared cache errors on macOS 11
2021-01-11 15:29:05 +01:00
bjorn
522987c211
64 bit nightly builds;
2021-01-08 21:26:03 -07:00
bjorn
1efb07b275
Update README;
2021-01-06 19:12:20 -07:00
Bjorn
10cc0011a5
Merge pull request #338 from bferguson3/master
...
Removed erroneous manifest entry
2020-12-28 15:55:48 -07:00
bjorn
96839c5181
Slightly better error messages on image load failure;
2020-12-15 20:20:25 -07:00
bjorn
e887d46256
Fix crash on non-string thread errors;
...
Non-string errors are currently ignored. This is consistent with
love, and is pretty obscure, but maybe it can be improved at some point.
2020-12-11 04:41:48 -07:00
bjorn
8ef50b5f6a
lovr.mirror: don't call lovr.headset.getMirrorTexture twice;
2020-12-02 14:46:37 -07:00
Bjorn
c1b3bc61b1
Merge pull request #340 from alloverse/fix/append
...
filesystem.append didn't append in Unix
2020-11-27 18:53:44 -07:00
Bjorn
c17d19d015
Merge pull request #343 from shakesoda/patch-3
...
fix mat4_lookAt translation offset
2020-11-27 18:52:08 -07:00
Colby Klein
08025b9ac0
fix mat4_lookAt translation offset
...
need to dot with the axes to not have bizarre results.
2020-11-27 17:48:33 -08:00
Bjorn
87745bf7de
Merge pull request #341 from plabuda/touch-pose-revert
...
Reverting binding to base
2020-11-27 13:20:56 -07:00
Piotr Łabuda
f60441d905
Reverting binding to base
2020-11-27 21:06:26 +01:00
Nevyn Bengtsson
c557a8585f
filesystem.append didn't append in Unix
2020-11-26 22:54:41 +01:00
Ben Ferguson
0ef23bb7e2
Removed erroneous manifest entry
2020-11-23 16:21:22 -05:00
bjorn
1ff94bc29a
Default errhand agnostic to t.math.globals;
2020-11-20 19:23:42 -07:00
Bjorn
97f05b9938
Merge pull request #336 from plabuda/touch-pose-fix
...
Added bindings to pose/base
2020-11-20 19:14:46 -07:00
Piotr Łabuda
d65c72d7c6
Added bindings to pose/base
2020-11-21 00:37:32 +01:00
Bjorn
684c5e5cd1
Merge pull request #333 from Wallbraker/go-go-gadget-fix-errors
...
Do not try to create hand tracking devices if handTracking is not sup…
2020-11-18 19:04:38 -07:00
Jakob Bornecrantz
cf22c11dd5
Do not try to create hand tracking devices if handTracking is not supported
2020-11-18 21:31:09 +00:00
Bjorn
59ebbfa16f
Merge pull request #334 from alloverse/fix/error-vectors
...
fix crash in error handler when running out of vectors
2020-11-18 13:52:12 -07:00
Nevyn Bengtsson
220aa70d7c
fix crash in error handler when running out of vectors
2020-11-18 21:38:04 +01:00
Jakob Bornecrantz
ca04882093
OpenXR: Add support for X11 and EGL on Linux
2020-11-16 17:02:51 -07:00
bjornbytes
94e7bafe47
KeyCode -> KeyboardKey because X11 conflict;
2020-11-16 17:02:51 -07:00
bjornbytes
40c403dfb6
CMake: Add LOVR_SYSTEM_OPENXR;
...
Searches for the system-installed OpenXR loader using pkg-config.
2020-11-16 17:02:51 -07:00
bjorn
c6b4981389
Fix OpenXR view matrix;
2020-11-16 17:02:51 -07:00
Bjorn
25d7319605
Merge pull request #331 from jmiskovic/fix/mat4angle
...
Fix NaN return from mat4 unpacking
2020-11-16 11:08:54 -07:00
Josip Miskovic
ceaac78439
Fix NaN return from mat4 unpacking
...
The caluclated angle is forced to PI if cos(angle) falls outside the
[-1, +1] range due to floating point precision error.
2020-11-16 19:03:52 +01:00
Bjorn
7d7b884577
Merge pull request #330 from bferguson3/quest2-90
...
Add Quest 2 90hz to android manifest
2020-11-14 10:39:59 -07:00
Ben Ferguson
63a141dc54
Add Quest 2 90hz to android manifest
2020-11-14 09:21:01 -05:00
Bjorn
df3b918f74
Merge pull request #327 from jmiskovic/feature/curve-empty
...
Create empty curve with specified number of points
2020-11-13 12:33:48 -07:00
Josip Miskovic
1defba8f24
Create empty curve with specified number of points
...
This `lovr.math.newCurve(n)` variant is already described in API
documentation, now it is implemented.
2020-11-13 17:53:37 +01:00
Bjorn
86f03ad1a8
Merge pull request #328 from jmiskovic/fix/orphan-shape-crash
...
Check if shape can be positioned and oriented
2020-11-12 17:54:53 -07:00
Josip Miskovic
b735015f6e
Check if shape can be positioned and oriented
...
Shape without attached collider cannot be positioned or oriented. Trying
to do so results in ODE crash. Better to throw a more descriptive error.
2020-11-12 17:18:40 +01:00
Bjorn
8ab8b7ac78
Merge pull request #326 from Voxar/voxar/audio_setCone_arg_index
...
Correct the argument indices for Source:setCone
2020-11-11 14:53:37 -07:00
Patrik Sjöberg
ec501903d5
Correct the argument indices for Source:setCone
2020-11-11 22:17:10 +01:00
bjorn
61eaf579cd
Thread local vector metatable refs;
2020-11-06 13:12:57 -07:00
Bjorn
5d5adfe7ea
Merge pull request #323 from alloverse/fix/window-icon-crash
...
don't free window icon before it's used
2020-11-06 13:09:31 -07:00
Nevyn Bengtsson
326d275424
don't free window icon before it's used
...
It seems to me like that lovrRelease will delete textureData->blob immediately,
which means the windowing system later can't use it because it's already freed.
There's already a free on line 378 which looks more correct.
Also, icon appears flipped if 'flipped' is set to true here on Linux. Is GLFW
inconsistent between linux and windows, or should it indeed be false?
2020-11-06 21:00:38 +01:00
bjornbytes
5c381ead34
Force set vsync in lovrGraphicsCreateWindow;
...
Headset drivers are allowed to override the vsync setting if vsync
messes up their frame timing. The vsync property is effectively a
global piece of state in core/os and doesn't change across restarts
because the window is persistent. This can mean that if you switch
from a headset driver that wants vsync off (anything except desktop)
to a headset driver that doesn't care what the vsync is (desktop),
you could end up with a vsync setting that doesn't match t.window.vsync.
I think this is a symptom of poor design somewhere and the best solution
to this probem is "to just not have it". Similar issues exist for, e.g.
the window size (but that one is less weird because at least you were
the one who changed it). For now we are just going to ensure that
lovr.graphics.createWindow always modifies the vsync property.
Untested, may need to adjust this fix later.
2020-11-02 11:57:02 -07:00
bjornbytes
a68320c66a
Always rebuild APK;
2020-11-02 11:47:44 -07:00
bjorn
e12a6b7dc4
Fix WebGL;
2020-11-01 23:11:35 -07:00
Bjorn
96f2735e14
Merge pull request #322 from nevyn/patch-1
...
network permissions for pico too
2020-11-01 15:04:29 -07:00
Nevyn Bengtsson
a321d997a1
network permissions for pico too
2020-11-01 22:54:02 +01:00
Bjorn
4b7b1cebbc
Merge pull request #321 from bferguson3/oculus-manifest-fix
...
enet and hand tracking permissions fix
2020-11-01 14:47:00 -07:00
Ben Ferguson
efe143bf55
enet and hand tracking permissions fix
2020-11-01 16:43:03 -05:00
bjorn
38875cb399
Fix buffer flushing;
...
lovrGraphicsMapBuffer had the potential to cause a flush. Flushing
unmaps buffers. This meant that during any of the calls to map while
creating a Batch, it was possible to cause a flush and unmap other
buffers that expected to be mapped. This caused writes to unmapped
pointers and subsequent skipping of calls to glFlushMappedBufferRange.
The fix is to figure out if we need to flush upfront and get it out
of the way before mapping any buffers.
2020-10-29 12:12:34 -06:00
Bjorn
931147531a
Merge pull request #309 from mcclure/no-password
...
Add a check so apksigner works even without ANDROID_KEYSTORE_PASS
2020-10-27 21:45:17 -06:00
mcc
2be1c777d7
Add a check so that if ANDROID_KEYSTORE_PASS is not given, apksigner can still be invoked.
...
This is done by omitting the --ks-pass argument completely
2020-10-27 23:27:02 -04:00
Bjorn
dbc2780e15
Merge pull request #301 from Wallbraker/openxr-action-state
...
OpenXR: Make sure to set types for XrActionState[Boolean|Float] structs
2020-10-25 01:00:06 -06:00