svn merge ^/trunk/blender -r43751:43819, need to look into changes made to editmesh_l...
[blender.git] / source / blender / modifiers / intern / MOD_boolean.c
index 6014413bd00687295bc0c6d2616b407361345498..72e5475449803bb3dcb2fa9dba0bf9183c9c7bd7 100644 (file)
@@ -47,6 +47,8 @@
 #include "MOD_boolean_util.h"
 #include "MOD_util.h"
 
+#include "PIL_time.h"
+
 static void copyData(ModifierData *md, ModifierData *target)
 {
        BooleanModifierData *bmd = (BooleanModifierData*) md;
@@ -140,8 +142,12 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
                        DM_ensure_tessface(dm);          /* BMESH - UNTIL MODIFIER IS UPDATED FOR MPoly */
                        DM_ensure_tessface(derivedData); /* BMESH - UNTIL MODIFIER IS UPDATED FOR MPoly */
 
+                       // TIMEIT_START(NewBooleanDerivedMesh)
+
                        result = NewBooleanDerivedMesh(dm, bmd->object, derivedData, ob,
                                        1 + bmd->operation);
+
+                       // TIMEIT_END(NewBooleanDerivedMesh)
                }
 
                /* if new mesh returned, return it; otherwise there was