System Information
OS: Arch Linux
GPU: 01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 950] (rev a1)
Blender Version
Broken:
- Stable release: 2.79 8ef39d5c882
- builder build: 2.79 f6107af4cf4
Worked:
- No idea
Short description of error
Align Objects fails with:
Traceback (most recent call last):
File "/usr/share/blender/2.79/scripts/startup/bl_operators/object_align.py", line 409, in execute
self.bb_quality,
File "/usr/share/blender/2.79/scripts/startup/bl_operators/object_align.py", line 152, in align_objects
GBB = GlobalBB_HQ(obj)
File "/usr/share/blender/2.79/scripts/startup/bl_operators/object_align.py", line 77, in GlobalBB_HQ
val = matrix_world * verts[-1].co
IndexError: bpy_prop_collection[-1]: out of range.Exact steps for others to reproduce the error
- Download my .blend.
- The cubes are already selected. Do Spacebar -> Align Objects
- Python IndexError
Additional notes
I encountered this bug by chance. I don't know what the simplest reproducer would be. Two notable features of my .blend reproducer are:
- I'm using multiple instances of the same linked object, a cube.
- There are two materials on different surfaces of the cube.
- *EDIT* apparently I also have some overlapping objects/edges/surfaces.
This may or may not be relevant. I haven't found a less complex reproducer.