~ubuntu-branches/ubuntu/lucid/meshlab/lucid

« back to all changes in this revision

Viewing changes to meshlab/src/fgt/render_rfx/rfx_shader.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Teemu Ikonen
  • Date: 2009-10-08 16:40:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20091008164041-0c2ealqv8b8uc20c
Tags: 1.2.2-1
* New upstream version
* Do not build filter_isoparametrization because liblevmar dependency
  is not (yet) in Debian
* Fix compilation with gcc-4.4, thanks to Jonathan Liu for the patch
  (closes: #539544)
* rules: Add compiler variables to the qmake call (for testing with new
  GCC versions)
* io_3ds.pro: Make LIBS and INCLUDEPATH point to Debian version of lib3ds
* io_epoch.pro: Make LIBS point to Debian version of libbz2
* control:
  - Move Homepage URL to the source package section
  - Update to standards-version 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
                }
234
234
        return false;
235
235
}
 
236
 
 
237
/*
 
238
        Checks whether the actual mesh document contains the value needed to set up the value of the special attributes.
 
239
        @param md the mesh document to test.
 
240
        @return true if the mesh document contains all the value per vertex needed to set up the special attribute values, false otherwise.
 
241
*/
 
242
bool RfxShader::checkSpecialAttributeDataMask(MeshDocument *md)
 
243
{
 
244
        QListIterator<RfxGLPass*> it = QListIterator<RfxGLPass*>(shaderPasses);
 
245
        RfxGLPass *tmp;
 
246
        while(it.hasNext())
 
247
        {
 
248
                tmp = it.next();
 
249
                if(!tmp->checkSpecialAttributeDataMask(md))
 
250
                        return false;
 
251
 
 
252
        }
 
253
        return true;
 
254
}
 
 
b'\\ No newline at end of file'