Skip to content

Commit 5a00fa9

Browse files
authored
Merge pull request #611 from gamingrobot/fix-editmode-crash
Fix render crash when in edit mode
2 parents 725f509 + 15adb0d commit 5a00fa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BlenderMalt/MaltMeshes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def load_mesh(object, name):
1919
from . import CBlenderMalt
2020

2121
m = object.data
22-
if object.type != 'MESH' or bpy.context.mode == 'EDIT_MESH':
22+
if object.type != 'MESH' or object.mode == 'EDIT':
2323
m = object.to_mesh()
2424

2525
if m is None or len(m.polygons) == 0:

0 commit comments

Comments
 (0)