Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2006-03-29 20:47:56 +0400
committerKent Mein <mein@cs.umn.edu>2006-03-29 20:47:56 +0400
commit42930c643cb83e7ddaaabc73092796bfab80d727 (patch)
tree886cccde1aa99d1a4c3c6ce24ddfc5833de9b414 /intern/boolop
parentf350b182915a5beceb265ff4cf27d6f5582d9c88 (diff)
Added BOP_Mesh constructor to get rid of this:
BOP_Mesh.h:45: warning: ‘class BOP_Mesh’ only defines private constructors and h as no friends drawimasel.c initalized a variable so it didn't give warnings about it. (wasn't really needed but if the code changes could be potential issue) Kent
Diffstat (limited to 'intern/boolop')
-rw-r--r--intern/boolop/intern/BOP_Mesh.cpp2
-rw-r--r--intern/boolop/intern/BOP_Mesh.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/intern/boolop/intern/BOP_Mesh.cpp b/intern/boolop/intern/BOP_Mesh.cpp
index 24d5b3fb6a9..595ccae6b93 100644
--- a/intern/boolop/intern/BOP_Mesh.cpp
+++ b/intern/boolop/intern/BOP_Mesh.cpp
@@ -34,6 +34,8 @@
#include <fstream>
+BOP_Mesh::BOP_Mesh() {}
+
/**
* Destroys a mesh.
*/
diff --git a/intern/boolop/intern/BOP_Mesh.h b/intern/boolop/intern/BOP_Mesh.h
index 6751df7c4e7..644f9ab691c 100644
--- a/intern/boolop/intern/BOP_Mesh.h
+++ b/intern/boolop/intern/BOP_Mesh.h
@@ -57,6 +57,7 @@ private:
bool testFace(BOP_Face *face);
public:
+ BOP_Mesh ();
~BOP_Mesh();
BOP_Index addVertex(MT_Point3 point);