- all add object operators now take view_align as an argument, and enter_editmode where its used. Makes running the operator from python pradictable without having to know the user prefs.
- missing return in function - python error in view3d (assumed active object exists)
This commit is contained in:
@@ -1334,7 +1334,7 @@ class VIEW3D_PT_3dview_display(bpy.types.Panel):
|
||||
col.itemR(view, "all_object_centers")
|
||||
col.itemR(view, "relationship_lines")
|
||||
if ob and ob.type == 'MESH':
|
||||
mesh = context.active_object.data
|
||||
mesh = ob.data
|
||||
col.itemR(mesh, "all_edges")
|
||||
|
||||
col = layout.column()
|
||||
|
Reference in New Issue
Block a user