minor improvements

This commit is contained in:
wmayer
2017-10-24 19:39:49 +02:00
parent 24081a5746
commit be0e70cca5
5 changed files with 7 additions and 6 deletions

View File

@@ -74,6 +74,7 @@ public:
clipView->plane.setValue(SbPlane(SbVec3f(0,0,1),0));
clipView->ref();
node = 0;
sensor = new SoTimerSensor(moveCallback, this);
}
~Private()

View File

@@ -19,8 +19,8 @@
#ifndef GLIMAGEBOX_H
#define GLIMAGEBOX_H
#include <Mod/Image/App/ImageBase.h>
#include <QGLWidget>
#include <Mod/Image/App/ImageBase.h>
#include <QGLWidget>
namespace ImageGui
{
@@ -75,7 +75,7 @@ public:
unsigned int pixValToMapIndex(double PixVal);
Q_SIGNALS:
void drawGraphics();
void drawGraphics();
private:

View File

@@ -44,7 +44,7 @@ public:
virtual ~ImageView();
const char *getName(void) const {return "ImageView";}
void onUpdate(void){};
void onUpdate(void){}
bool onMsg(const char* ,const char** ){ return true; }
bool onHasMsg(const char* ) const { return false; }

View File

@@ -465,7 +465,7 @@ void MeshSelection::selectGLCallback(void * ud, SoEventCallback * n)
std::list<ViewProviderMesh*> views = self->getViewProviders();
for (std::list<ViewProviderMesh*>::iterator it = views.begin(); it != views.end(); ++it) {
ViewProviderMesh* vp = static_cast<ViewProviderMesh*>(*it);
ViewProviderMesh* vp = *it;
std::vector<unsigned long> faces;
const Mesh::MeshObject& mesh = static_cast<Mesh::Feature*>((*it)->getObject())->Mesh.getValue();

View File

@@ -55,7 +55,7 @@ public:
protected:
// Force using the reference count mechanism.
virtual ~SoFCIndexedFaceSet() {};
virtual ~SoFCIndexedFaceSet() {}
virtual void GLRender(SoGLRenderAction *action);
void drawCoords(const SoGLCoordinateElement * const vertexlist,
const int32_t *vertexindices,