Page MenuHome

Auto mirror not working
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Intel(R) UHD Graphics Intel 4.5.0 - Build 26.20.100.6911

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: rB375c7dc4caf4
Worked: (optional)

Addon Information
Name: Auto Mirror (2, 5, 2)
Author: Lapineige

Short description of error

2.82:

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\mesh_auto_mirror.py", line 167, in execute
    threshold= bpy.context.scene.AutoMirror_threshold)
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\modules\bpy\ops.py", line 201, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Zero normal given

2.90:

Error: Zero normal given
Traceback (most recent call last):
  File "Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc15_Debug\bin\Debug\2.90\scripts\addons\mesh_auto_mirror.py", line 178, in execute
    threshold = automirror.threshold
  File "Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc15_Debug\bin\Debug\2.90\scripts\modules\bpy\ops.py", line 201, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Zero normal given

Exact steps for others to reproduce the error

  1. Open Blender with default startup file
  2. Deselect the cube
  3. Open the sidebar and click on the AutoMirror button (bpy.ops.object.automirror())

Revisions and Commits

Event Timeline

Robert Guetzkow (rjg) changed the task status from Needs Triage to Needs Information from User.Wed, May 20, 5:25 PM

I can't reproduce this with the default blend file. Are specific settings required for the Auto-Mirror add-on to make this error appear?

@Robert Guetzkow (rjg), select the cube and then deselect it then use the auto-mirror.

Robert Guetzkow (rjg) changed the task status from Needs Information from User to Confirmed.Wed, May 20, 6:24 PM
Robert Guetzkow (rjg) triaged this task as Low priority.
Robert Guetzkow (rjg) updated the task description. (Show Details)