Fix #24775: boolean modifier crash in rendering on Mac. Problem was that this
[blender.git] / intern / boolop / intern / BOP_BSPNode.cpp
index d9b3941cf38298b1e60468a455ed17da6eb10678..ffb940bcf409aec8d768a5cdce751ac57ca64946 100644 (file)
@@ -59,7 +59,7 @@ BOP_BSPNode::~BOP_BSPNode()
  * @param plane face plane.
  */
 
-unsigned int BOP_BSPNode::addFace(BOP_BSPPoints pts,
+unsigned int BOP_BSPNode::addFace(const BOP_BSPPoints& pts,
                                                                  const MT_Plane3& plane )
 {
        unsigned int newDeep = 0;