Tests: fix eevee and workbench using Cycles in a few tests

This commit is contained in:
Brecht Van Lommel 2019-05-10 23:20:32 +02:00
parent 30887fc387
commit 79b9596c66
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,9 @@ import sys
def setup():
import bpy
for scene in bpy.data.scenes:
scene.render.engine = 'BLENDER_EEVEE'
# Enable Eevee features
scene = bpy.context.scene
eevee = scene.eevee

View File

@ -12,6 +12,9 @@ import sys
def setup():
import bpy
for scene in bpy.data.scenes:
scene.render.engine = 'BLENDER_WORKBENCH'
scene = bpy.context.scene
scene.display.shading.color_type = 'TEXTURE'