[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43371] branches/carve_booleans/intern/ boolop/intern/BOP_CarveInterface.cpp: Carve booleans: use edge classifier

Sergey Sharybin sergey.vfx at gmail.com
Sat Jan 14 11:12:25 CET 2012


Revision: 43371
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43371
Author:   nazgul
Date:     2012-01-14 10:12:24 +0000 (Sat, 14 Jan 2012)
Log Message:
-----------
Carve booleans: use edge classifier

This allows to make open manifolds behave better when another argument is
closed mesh. Operation between two open meshes would fail and empty mesh
would be returned in such situation.

Modified Paths:
--------------
    branches/carve_booleans/intern/boolop/intern/BOP_CarveInterface.cpp

Modified: branches/carve_booleans/intern/boolop/intern/BOP_CarveInterface.cpp
===================================================================
--- branches/carve_booleans/intern/boolop/intern/BOP_CarveInterface.cpp	2012-01-14 10:11:22 UTC (rev 43370)
+++ branches/carve_booleans/intern/boolop/intern/BOP_CarveInterface.cpp	2012-01-14 10:12:24 UTC (rev 43371)
@@ -390,7 +390,7 @@
 	csg.hooks.registerHook(new carve::csg::CarveTriangulator, carve::csg::CSG::Hooks::PROCESS_OUTPUT_FACE_BIT);
 
 	oface_num.installHooks(csg);
-	output = csg.compute( left, right, op );
+	output = csg.compute( left, right, op, NULL, carve::csg::CSG::CLASSIFY_EDGE);
 	delete left;
 	delete right;
 



More information about the Bf-blender-cvs mailing list