Disable threaded buffer swap to see if it causes "invalid context"
This commit is contained in:
parent
12004846e1
commit
3ac859d286
@ -70,7 +70,7 @@ def anglesToVector(yaw, pitch):
|
|||||||
dz = math.cos(math.radians(yaw)) * math.cos(math.radians(pitch))
|
dz = math.cos(math.radians(yaw)) * math.cos(math.radians(pitch))
|
||||||
return Vector(*map(nanzero, [dx, dy, dz]))
|
return Vector(*map(nanzero, [dx, dy, dz]))
|
||||||
|
|
||||||
THREADED_BUFFER_SWAP = True
|
THREADED_BUFFER_SWAP = False
|
||||||
|
|
||||||
class BufferSwapper(QtCore.QObject):
|
class BufferSwapper(QtCore.QObject):
|
||||||
def __init__(self, view):
|
def __init__(self, view):
|
||||||
|
Reference in New Issue
Block a user