remove warnings, print errors if bpy_ops.py or bpy_sys.py fail to import

This commit is contained in:
2009-09-28 05:02:09 +00:00
parent dab61acd45
commit 92ee7ca946
3 changed files with 15 additions and 18 deletions

View File

@@ -109,9 +109,6 @@ static void rna_Mesh_calc_edges(Mesh *mesh)
static void rna_Mesh_update(Mesh *mesh, bContext *C)
{
Main *bmain= CTX_data_main(C);
Object *ob;
if(mesh->totface && mesh->totedge == 0)
rna_Mesh_calc_edges(mesh);