[Bf-blender-cvs] [eca8d9a] blender-v2.76-release: Update test to RNA API

Campbell Barton noreply at git.blender.org
Wed Sep 23 16:12:22 CEST 2015


Commit: eca8d9aa020caedd29eaacc1825d24f9ac32f8ac
Author: Campbell Barton
Date:   Wed Sep 23 03:11:17 2015 +1000
Branches: blender-v2.76-release
https://developer.blender.org/rBeca8d9aa020caedd29eaacc1825d24f9ac32f8ac

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