glTF importer: remove check on version

This was a problem on our tool that convert 2.79/2.80 mixed code to 2.80 code
This commit is contained in:
Julien Duroure 2018-12-05 21:55:53 +01:00
parent 3087c4e458
commit 10e85f2185
1 changed files with 1 additions and 4 deletions

View File

@ -36,10 +36,7 @@ class BlenderScene():
# TODO: There is a bug in 2.8 alpha that break CLEAR_KEEP_TRANSFORM
# if we are creating a new scene
scene = bpy.context.scene
if bpy.app.version < (2, 80, 0):
scene.render.engine = "CYCLES"
else:
scene.render.engine = "BLENDER_EEVEE"
scene.render.engine = "BLENDER_EEVEE"
gltf.blender_scene = scene.name
else: