~ubuntu-branches/debian/sid/coin2/sid

« back to all changes in this revision

Viewing changes to src/vrml97/ElevationGrid.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-06-28 02:38:17 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080628023817-lgrh0u677j1gcqgf
Tags: 2.5.0-2
* debian/control: Change suggests from libopenal0 to libopenal0a.
  Closes: #488001.  Change ${Source-Version} to ${binary:Version}.
  Update to standards version 3.8.0.

* debian/rules: Do not ignore errors in clean rule.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**************************************************************************\
2
2
 *
3
3
 *  This file is part of the Coin 3D visualization library.
4
 
 *  Copyright (C) 1998-2006 by Systems in Motion.  All rights reserved.
 
4
 *  Copyright (C) 1998-2007 by Systems in Motion.  All rights reserved.
5
5
 *
6
6
 *  This library is free software; you can redistribute it and/or
7
7
 *  modify it under the terms of the GNU General Public License
379
379
 
380
380
  if (!this->shouldGLRender(action)) return;
381
381
 
 
382
  SoState * state = action->getState();
 
383
  state->push();
 
384
 
382
385
  // update state with color information
383
386
  SoNode * node = this->color.getValue();
384
387
  if (node) node->GLRender(action);
385
388
 
386
 
  SoState * state = action->getState();
 
389
  this->setupShapeHints(state, this->ccw.getValue(), this->solid.getValue());
 
390
 
387
391
  SoMaterialBundle mb(action);
388
392
 
389
 
  this->setupShapeHints(state, this->ccw.getValue(), this->solid.getValue());
390
 
 
391
393
  SbBool dotex = SoGLTextureEnabledElement::get(state);
392
394
  SbBool donorm = !mb.isColorOnly();
393
395
 
608
610
  }
609
611
 
610
612
  if (normalcache) PRIVATE(this)->readUnlockNormalCache();
 
613
  state->pop();
611
614
}
612
615
 
613
616
// Doc in parent