Page MenuHome

Adding torus in edit mode local mode shows error
Closed, ResolvedPublic


System Information
Win7 64

Blender Version
Broken: 2.78

Short description of error
If I work with object in local view and add torus in edit mode, I get this when set "Align to view" it adding options.

Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\blender-2.78-windows64\2.78\scripts\startup\bl_operators\", line 222, in execute
  object_utils.object_data_add(context, mesh, operator=self)
File "C:\Program Files\Blender Foundation\blender-2.78-windows64\2.78\scripts\modules\bpy_extras\", line 188, in object_data_add

RuntimeError: Error: Mesh 'Torus' must have zero users to be removed, found 1 (try with do_unlink=True parameter)

location: <unknown location>:-1

Exact steps for others to reproduce the error
Go to local mode, then to edit mode, add torus and click on "Align to view"

Event Timeline

Bastien Montagne (mont29) lowered the priority of this task from 90 to 50.

Ah, that’s not a regression actually, same behavior in 2.77… Think issue here is that in local and edit mode, object_data_add helper cannot perform the Join operation between newly added object and existing one correctly - though it works the first time, odd... :/