forked from bartvdbraak/blender
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
This commit is contained in:
parent
f350b18291
commit
42930c643c
@ -34,6 +34,8 @@
|
||||
#include <fstream>
|
||||
|
||||
|
||||
BOP_Mesh::BOP_Mesh() {}
|
||||
|
||||
/**
|
||||
* Destroys a mesh.
|
||||
*/
|
||||
|
@ -57,6 +57,7 @@ private:
|
||||
bool testFace(BOP_Face *face);
|
||||
|
||||
public:
|
||||
BOP_Mesh ();
|
||||
~BOP_Mesh();
|
||||
|
||||
BOP_Index addVertex(MT_Point3 point);
|
||||
|
@ -705,6 +705,7 @@ void select_ima_files(SpaceImaSel *simasel)
|
||||
|
||||
getmouseco_areawin(mval);
|
||||
oval[0] = mval[0] + 1;
|
||||
oval[1] = 0; /* Just give it a value to stop warnings */
|
||||
|
||||
while(get_mbut()&R_MOUSE) {
|
||||
getmouseco_areawin(mval);
|
||||
|
Loading…
Reference in New Issue
Block a user