Page MenuHome

extrude_face_region BMesh operator non-functioning argument
Closed, ResolvedPublic

Description

System Information
Windows 10 x64
Renderer: GeForce GTX 860M/PCIe/SSE2

Blender Version
Broken: 2.78.5 9f044cb

Short description of error
In API documentation it says that use_keep_orig argument of extrude_face_region bmesh operator should "keep original geometry". I. e. it should keep or remove original faces from which extrude has been made.
But it seems that it doesn't do anything.

Exact steps for others to reproduce the error

  1. Open attached blend file:
  2. Use Run Script in text editor with use_keep_orig argument set to False
  3. Undo and repeat with use_keep_orig argument set to True
  4. You should see that the original face is kept in both cases

Event Timeline

The value is used, this is more of a documentation issue, committed edit.

In the attached script replace geom=[f] with geom=[f, *f.edges] - then changing use_keep_orig works as expected.