mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-06 00:06:03 +08:00
Solve problem where X/Y/Z text is shown before camera if are actually behind camera
This commit is contained in:
parent
bfaebcce3e
commit
a90cdd4993
@ -145,6 +145,8 @@ def DrawMachine(machineSize):
|
||||
def ResetMatrixRotationAndScale():
|
||||
matrix = glGetFloatv(GL_MODELVIEW_MATRIX)
|
||||
noZ = False
|
||||
if matrix[3][2] > 0:
|
||||
return False
|
||||
scale2D = matrix[0][0]
|
||||
matrix[0][0] = 1.0
|
||||
matrix[1][0] = 0.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user