[Bf-blender-cvs] [7615073] master: Update test to RNA API

Campbell Barton noreply at git.blender.org
Tue Sep 22 19:45:17 CEST 2015


Commit: 7615073e773798319b66f9386a3a6f23303e7d58
Author: Campbell Barton
Date:   Wed Sep 23 03:11:17 2015 +1000
Branches: master
https://developer.blender.org/rB7615073e773798319b66f9386a3a6f23303e7d58

Update test to RNA API

===================================================================

M	tests/python/bl_mesh_modifiers.py

===================================================================

diff --git a/tests/python/bl_mesh_modifiers.py b/tests/python/bl_mesh_modifiers.py
index 2db3889..0121be2 100644
--- a/tests/python/bl_mesh_modifiers.py
+++ b/tests/python/bl_mesh_modifiers.py
@@ -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




More information about the Bf-blender-cvs mailing list