[Bf-blender-cvs] SVN commit: /data/svn/repos/bf-blender [61999] trunk/lib/tests/modeling: Add intersect_boolean and intersect regression tests.

Howard Trickey howard.trickey at gmail.com
Mon Feb 12 13:22:33 CET 2018


Revision: 61999
          https://developer.blender.org/rBL61999
Author:   howardt
Date:     2018-02-12 13:22:32 +0100 (Mon, 12 Feb 2018)
Log Message:
-----------
Add intersect_boolean and intersect regression tests.

Had to fix face selection in mesh_ops_test to make this work.

Modified Paths:
--------------
    trunk/lib/tests/modeling/mesh_ops_test.py

Added Paths:
-----------
    trunk/lib/tests/modeling/bool_regression.blend

Added: trunk/lib/tests/modeling/bool_regression.blend
===================================================================
(Binary files differ)

Index: trunk/lib/tests/modeling/bool_regression.blend
===================================================================
--- trunk/lib/tests/modeling/bool_regression.blend	2018-02-09 19:34:41 UTC (rev 61998)
+++ trunk/lib/tests/modeling/bool_regression.blend	2018-02-12 12:22:32 UTC (rev 61999)

Property changes on: trunk/lib/tests/modeling/bool_regression.blend
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/lib/tests/modeling/mesh_ops_test.py
===================================================================
--- trunk/lib/tests/modeling/mesh_ops_test.py	2018-02-09 19:34:41 UTC (rev 61998)
+++ trunk/lib/tests/modeling/mesh_ops_test.py	2018-02-12 12:22:32 UTC (rev 61999)
@@ -188,10 +188,7 @@
         elif seltype == 'EDGE':
             m.edges[i].select = True
         else:
-            # for faces, select all the edges around the face
-            for j in m.polygons[i].loop_indices:
-                ei = m.loops[j].edge_index
-                m.edges[ei].select = True
+            m.polygons[i].select = True
     return seltype
 
 
@@ -267,6 +264,7 @@
     elif update_expected:
         if verbose:
             print('Updating expected object', t.expected_obj)
+        # oexpected.name = oexpected.name + '_pendingdelete'
         otestdup.location = oexpected.location
         otestdup.layers = oexpected.layers
         bpy.context.scene.layers = oexpected.layers



More information about the Bf-blender-cvs mailing list