Commit d299dcbc authored by Dirk Wilden's avatar Dirk Wilden
Browse files

removed warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10611 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 644b9a9f
...@@ -160,7 +160,7 @@ draw(GLState& _state, DrawModes::DrawMode _drawMode) ...@@ -160,7 +160,7 @@ draw(GLState& _state, DrawModes::DrawMode _drawMode)
template <class BSplineCurve> template <class BSplineCurve>
void void
BSplineCurveNodeT<BSplineCurve>:: BSplineCurveNodeT<BSplineCurve>::
render(GLState& _state, bool _fill, DrawModes::DrawMode _drawMode) render(GLState& _state, bool /*_fill*/, DrawModes::DrawMode _drawMode)
{ {
// draw the control polygon (includes selection on the polygon) // draw the control polygon (includes selection on the polygon)
if (render_control_polygon_) if (render_control_polygon_)
...@@ -197,7 +197,7 @@ render(GLState& _state, bool _fill, DrawModes::DrawMode _drawMode) ...@@ -197,7 +197,7 @@ render(GLState& _state, bool _fill, DrawModes::DrawMode _drawMode)
template <class BSplineCurve> template <class BSplineCurve>
void void
BSplineCurveNodeT<BSplineCurve>:: BSplineCurveNodeT<BSplineCurve>::
drawCurve(GLState& _state) drawCurve(GLState& /*_state*/)
{ {
int numKnots = bsplineCurve_.n_knots(); int numKnots = bsplineCurve_.n_knots();
GLfloat *knots = new GLfloat[numKnots]; GLfloat *knots = new GLfloat[numKnots];
...@@ -643,7 +643,7 @@ pick_curve( GLState& _state, unsigned int _offset) ...@@ -643,7 +643,7 @@ pick_curve( GLState& _state, unsigned int _offset)
template <class BSplineCurve > template <class BSplineCurve >
void void
BSplineCurveNodeT<BSplineCurve>:: BSplineCurveNodeT<BSplineCurve>::
pick_spline( GLState& _state, unsigned int _offset ) pick_spline( GLState& _state, unsigned int /*_offset*/ )
{ {
glPushAttrib(GL_ALL_ATTRIB_BITS); glPushAttrib(GL_ALL_ATTRIB_BITS);
...@@ -787,7 +787,7 @@ selection_init_texturing(GLuint & _texture_idx) ...@@ -787,7 +787,7 @@ selection_init_texturing(GLuint & _texture_idx)
template <class BSplineCurve> template <class BSplineCurve>
void void
BSplineCurveNodeT<BSplineCurve>:: BSplineCurveNodeT<BSplineCurve>::
create_cp_selection_texture(GLState& _state) create_cp_selection_texture(GLState& /*_state*/)
{ {
if (bsplineCurve_.n_knots() == 0) if (bsplineCurve_.n_knots() == 0)
return; return;
...@@ -858,7 +858,7 @@ create_cp_selection_texture(GLState& _state) ...@@ -858,7 +858,7 @@ create_cp_selection_texture(GLState& _state)
template <class BSplineCurve> template <class BSplineCurve>
void void
BSplineCurveNodeT<BSplineCurve>:: BSplineCurveNodeT<BSplineCurve>::
create_knot_selection_texture(GLState& _state) create_knot_selection_texture(GLState& /*_state*/)
{ {
if (bsplineCurve_.n_knots() == 0) if (bsplineCurve_.n_knots() == 0)
return; return;
...@@ -1017,7 +1017,7 @@ pick_create_texture( GLState& _state) ...@@ -1017,7 +1017,7 @@ pick_create_texture( GLState& _state)
template <class BSplineCurve> template <class BSplineCurve>
void void
BSplineCurveNodeT<BSplineCurve>:: BSplineCurveNodeT<BSplineCurve>::
draw_textured_nurbs( GLState& _state) draw_textured_nurbs( GLState& /*_state*/)
{ {
int numKnots = bsplineCurve_.n_knots(); int numKnots = bsplineCurve_.n_knots();
const int numCPs = bsplineCurve_.n_control_points(); const int numCPs = bsplineCurve_.n_control_points();
......
...@@ -857,7 +857,7 @@ selection_init_texturing(GLuint & _texture_idx ) ...@@ -857,7 +857,7 @@ selection_init_texturing(GLuint & _texture_idx )
template <class BSplineSurface> template <class BSplineSurface>
void void
BSplineSurfaceNodeT<BSplineSurface>:: BSplineSurfaceNodeT<BSplineSurface>::
create_cp_selection_texture(GLState& _state) create_cp_selection_texture(GLState& /*_state*/)
{ {
if (bsplineSurface_.n_knots_m() == 0 || bsplineSurface_.n_knots_n() == 0) if (bsplineSurface_.n_knots_m() == 0 || bsplineSurface_.n_knots_n() == 0)
return; return;
...@@ -1208,7 +1208,7 @@ set_arb_texture( const QImage& _texture, bool _repeat, float _u_repeat, float _v ...@@ -1208,7 +1208,7 @@ set_arb_texture( const QImage& _texture, bool _repeat, float _u_repeat, float _v
template <class BSplineSurface> template <class BSplineSurface>
void void
BSplineSurfaceNodeT<BSplineSurface>:: BSplineSurfaceNodeT<BSplineSurface>::
draw_textured_nurbs( GLState& _state) draw_textured_nurbs( GLState& /*_state*/)
{ {
int numKnots_m = bsplineSurface_.n_knots_m(); int numKnots_m = bsplineSurface_.n_knots_m();
int numKnots_n = bsplineSurface_.n_knots_n(); int numKnots_n = bsplineSurface_.n_knots_n();
......
...@@ -101,7 +101,7 @@ LightWidget::LightWidget( ACG::SceneGraph::BaseNode* _node, QWidget *parent) ...@@ -101,7 +101,7 @@ LightWidget::LightWidget( ACG::SceneGraph::BaseNode* _node, QWidget *parent)
connect(radius,SIGNAL(editingFinished()),this,SLOT(radiusChanged())); connect(radius,SIGNAL(editingFinished()),this,SLOT(radiusChanged()));
} }
void LightWidget::showEvent ( QShowEvent * event ) void LightWidget::showEvent ( QShowEvent * /*event*/ )
{ {
if ( !getObject() ) if ( !getObject() )
return; return;
......
...@@ -464,7 +464,6 @@ template <class Skeleton> ...@@ -464,7 +464,6 @@ template <class Skeleton>
void SkeletonNodeT<Skeleton>::pick(GLState& _state, PickTarget _target) void SkeletonNodeT<Skeleton>::pick(GLState& _state, PickTarget _target)
{ {
unsigned int n_of_vertices = skeleton_.jointCount(); unsigned int n_of_vertices = skeleton_.jointCount();
unsigned int n_of_edges = n_of_vertices - 1;
switch (_target) switch (_target)
{ {
......
...@@ -502,8 +502,6 @@ void SkeletonObject::updateMotionPath(const AnimationHandle &_hAni) ...@@ -502,8 +502,6 @@ void SkeletonObject::updateMotionPath(const AnimationHandle &_hAni)
if(!getAdditionalNode(pMatNode, "SkeletonPlugin", "Motion material node")) if(!getAdditionalNode(pMatNode, "SkeletonPlugin", "Motion material node"))
return; return;
PoseT<OpenMesh::Vec3d>* ref = skeleton_->referencePose();
// update the position of existing nodes // update the position of existing nodes
PoseT<OpenMesh::Vec3d>* pose = skeleton_->pose(_hAni); PoseT<OpenMesh::Vec3d>* pose = skeleton_->pose(_hAni);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment