From e47cb9ed5b5cc1a29efbd14de77177e08ba968aa Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 18 Apr 2019 17:13:44 +0200 Subject: Fix lots of various issues failing automated test load/unload/reload. --- archimesh/achm_gltools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archimesh') diff --git a/archimesh/achm_gltools.py b/archimesh/achm_gltools.py index c53d7a88..981082d0 100644 --- a/archimesh/achm_gltools.py +++ b/archimesh/achm_gltools.py @@ -38,7 +38,7 @@ import bgl import gpu from gpu_extras.batch import batch_for_shader -shader = gpu.shader.from_builtin('2D_UNIFORM_COLOR') +shader = gpu.shader.from_builtin('2D_UNIFORM_COLOR') if not bpy.app.background else None # ------------------------------------------------------------- # Handle all draw routines (OpenGL main entry point) -- cgit v1.2.3