System Information
Operating system: MacOS High Sierra 10.13.6
Graphics card:
Blender Version
December 04, 00:11:08, 1b6a394d862, blender2.8
Short description of error
When setting the scene unit from the properties panel, the info window shows an equivalent line of python code that raises an error.
Exact steps for others to reproduce the error
- Make sure you have a properties area, a python console and an info area open
- In the properties area, go to the scene tab and set the unit system of the scene to Metric
- Notice that the corresponding python line bpy.context.scene.system = 'METRIC' shows up in the info area
- Run the line from the previous step in the python console
- Notice that an AttribteError is raised (AttributeError: 'Scene' object has no attribute 'system')
- Also notice that the unit system can be set properly using bpy.context.scene.unit_settings.system = 'METRIC'
