diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-04-19 10:51:22 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-04-19 10:51:22 +0300 |
commit | 8a923e5295ab10c6f0a3976f9fbf0b70856fd204 (patch) | |
tree | 5f2398c12e1a3912a21f3007f4c473c7d831435e /source/blender/draw | |
parent | 163b631122b94713e68c4f30ee3edfe36278376e (diff) |
Code cleanup
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/workbench/workbench_materials.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/engines/workbench/workbench_materials.c b/source/blender/draw/engines/workbench/workbench_materials.c index eafeda324d7..c6625be6f36 100644 --- a/source/blender/draw/engines/workbench/workbench_materials.c +++ b/source/blender/draw/engines/workbench/workbench_materials.c @@ -118,7 +118,6 @@ void workbench_materials_solid_cache_populate(WORKBENCH_Data *vedata, Object *ob const float *color = get_material_solid_color(ob); uint hash = get_material_hash(color); - WORKBENCH_MaterialData *material; material = BLI_ghash_lookup(wpd->material_hash, SET_UINT_IN_POINTER(hash)); if (material == NULL) { |