Blender closes unexpectely executing bmesh.ops.extrude_discrete_faces with a single selected face #54199
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#54199
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 10 GeForce GTX 970
Blender Version
Broken: 2.79 and 279.a
Short description of error
I'm trying to bmesh.ops.extrude_discrete_faces to extrude a sibgle selected face on an add-on I'm developing.
I managed to reduce it on an add-on made with the template simple operator and the behaviour is the same.
Exact steps for others to reproduce the error
1.- Open Blender, change workspace to Scripting
2.- Open the attached operator_simple.py on the Text Editor.
3.- Enter edit mode.
4.- On the default Cube select ONE face.
5.- Check the Register option and Run the Script.
6.- On the Tools panel Click the Simple Operator button.
7.- Click with the LMB on the viewport.
8.- Blender crashes without error or warning.
operator_simple.py
Cheers,
David
Added subscriber: @dballesg
Changed status from 'Open' to: 'Resolved'
Hi,
The script was missing:
##bmesh.update_edit_mesh(me, tessface=True, destructive=True)##
just before exit the execute() method.
I attached a working verison of the script.
operator_simple_fixed.py
Cheers
David