Page MenuHome

Scene: Amaranth Toolset bug
Open, Needs Triage by DeveloperPublic

Description

MacOS 10.14.3
2017
27"
5K

Edit > Preferences and Add-ons click the "Testing" tab there is error Scene: Amaranth Toolset
When click check box make error.

Details

Type
Bug

Event Timeline

Tested on my laptop (Win 10 Pro 64bit, Nvidia GTX 1070) with the RC1 (but the issue below was there even before the release candidate) and, despite the add-on activates and works apparently, the following is the error message in the console just after add-on activation and continuously running on the console:

Traceback (most recent call last):

File "D:\Blender\blender-2.80rc1-windows64\2.80\scripts\modules\bpy_types.py", line 758, in draw_ls
  func(self, context)
File "D:\Blender\blender-2.80rc1-windows64\2.80\scripts\addons_contrib\amaranth\render\samples_scene.py", line 137, in render_cycles_scene_samples
  if (len(scene.render.layers) > 1) or (len(bpy.data.scenes) > 1):

AttributeError: 'RenderSettings' object has no attribute 'layers'

Thanks.

This seems an easy thing to fix, replacing the scene.render.layers with scene.render.views as follows:

Line 137

if (len(scene.render.views) > 1) or (len(bpy.data.scenes) > 1):