Page MenuHome

F2 addon does not create faces unless you exit edit mode.
Closed, ResolvedPublic

Description

System Information
Windows10 gtx1080

Blender Version
blender-2.79-980a864-win64

Short description of error
F2 addon does not create faces unless you exit edit mode.

Exact steps for others to reproduce the error

Please look at the attached video as describing the steps is kind of cumbersome, the video screen cap is better at explaining the problem.

The error appeared as I was trying to fill a row of empty edges to quads, but nothings happened, then if I exited edit mode, upon re entry to edit mode, a new face was created were it was supposed to be the firs time around I was in edit model, as if F2 needed me to exit and re enter edit mode to create the face.

I reverted to factory settings and did the same test and it's also not working, so its not my local configuration of addons whats causing the problem.

Also when trying to create a face from a vertex I get this error in edit mode, however if I exit edit mode right afterwards, back in object mode the quad is created.

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 359, in invoke
    quad_from_vertex(bm, sel[0], context, event)
  File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 270, in quad_from_vertex
    face.smooth = smooth
SystemError: error return without exception set

location: <unknown location>:-1

Details

Type
Bug

Event Timeline

Bastien Montagne (mont29) triaged this task as Needs Information from User priority.

Please follow our submission template and guidelines, also read these tips about bug reports, and make a complete, valid bug report, with required info, precise description of the issue, precise steps to reproduce it, small and simple .blend and/or other files to do so if needed, etc.
Videos and/or links to external sites etc. are not acceptable as bug report (they can be provided as additional information only).

I know the guidelines, however in this case Im not sure what you need me to do, the video I attached shows very clearly what I did, which is try to use the functions of the F2 addon, by trying to create a quad from a vertex by clicking the key "F"

A detailed description of what I did follows, which is me describing what I did on the video, the video is much better at showing the problem, the problem is super easy to see on the video, even the error window is shown there, I actually think me describing the steps makes things more cumbersome.

I attached an .blend file and a zip of the build of blender I used, with a cube that is ready to be used to test the F2 addon

1.- Unzip the blender build included in this message.

2.- Unzip the .bled file included on this message

3.-Click the blender.exe of the build included in this message.

4.-Revert to factory settings

5.-Got to preferences and activate the F2 addon

5.-open the .blend file included on this message.

6.-using the currently selected vertex, try to create a quad using the "Vertex to Quad" function of the F2 addon

"Quad from vertex"
When a single vertex is selected, a new quad is created by creating a new vertex. The position of this new vertex is calculated based on the three existing vertices. These are the selected vertex, and two vertices to which it is connected via open edges. An open edge is an edge which is only part of one face, or none at all. The newly created quad has the same material and normal direction as the neighbouring faces.

3.-Nothing happens, no quad is created, and an error window appears that reads:
Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 359, in invoke
  quad_from_vertex(bm, sel[0], context, event)
File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 270, in quad_from_vertex
  face.smooth = smooth

SystemError: error return without exception set

7.-Exit edit mode and the face that should have appeared in edit mode suddenly is there.

Please check the latest build if the error is fixed.
There was an regression in the latest master (see T52517 and the commit related to it).

Hi, The problem is gone, :) thanks a lot, however in today's build the addon "loop tools" is not working.

blender-2.79.0-git.dcebad7-windows64

1.-start blender

2.-revert to factory settings

3.-click on activate the addon "loop tools", and it will give you an error.

4.-even if its marked as being "on" (it gives you an error when you try to do so, but the tick that shows if the addon is active or not gets ticked on),
it does not appear in the "W" specials menu.

If you wish me to I create a ticket for this I can do it.

Glad to hear that the problem is solved:)

Concerning the Loop Tools error, there is no need to create a new ticket as it's already done in T52564 - the main task for register issues in the current master / daily builds.
The issue will be solved soon as there were lately some API changes.
Note that the future 2.79 release and rc2 are not affected.

Since the F2 issue is fixed, closing the task as resolved.