Update test to RNA API
authorCampbell Barton <ideasman42@gmail.com>
Tue, 22 Sep 2015 17:11:17 +0000 (03:11 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 22 Sep 2015 17:11:17 +0000 (03:11 +1000)
tests/python/bl_mesh_modifiers.py

index 2db38895f9b504f51b2026ac6daf924f78b77da6..0121be29dd6edff162f198b8c645ccc559bee8d1 100644 (file)
@@ -197,8 +197,9 @@ def defaults_object(obj):
     obj.show_wire = True
 
     if obj.type == 'MESH':
+        obj.show_all_edges = True
+
         mesh = obj.data
-        mesh.show_all_edges = True
 
         mesh.show_normal_vertex = True