Linux fixes.
This commit is contained in:
parent
ccebc307d3
commit
186195089c
|
@ -1,7 +1,10 @@
|
|||
# Translating operators from/to Armory player
|
||||
import bpy
|
||||
import utils
|
||||
import barmory
|
||||
try:
|
||||
import barmory
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
def parse_operator(text):
|
||||
if text == None:
|
||||
|
|
|
@ -332,7 +332,7 @@ def play_project(self, in_viewport):
|
|||
else:
|
||||
psize = 1
|
||||
xoff = 0
|
||||
yoff = 6
|
||||
yoff = 22
|
||||
|
||||
x = bpy.context.window.x + (bpy.context.area.x - xoff) / psize
|
||||
y = bpy.context.window.height + 45 - (bpy.context.area.y + bpy.context.area.height) / psize
|
||||
|
|
Loading…
Reference in a new issue