Show
Ignore:
Timestamp:
01/27/10 18:09:05 (5 years ago)
Author:
robert
Message:

From Wang Rui, "Changes:

1. Rewrite the reading/writing exception handlers to work like the ive
plugin exceptions.
2. Write a header writing/checking function in ReaderWriterOSG2.cpp,
which may help decide if the stream is ascii or binary. The
readInputIterator() function will return null pointer if the input
file is nither osgb nor osgt format, which indicates that the old .osg
format could be used here, in case we've merged the two plugins
together.
3. Add a new ForceReadingImage? option in the InputStream?, which will
allocate an empty image object with the filename if specifed external
image file is missed. It may be useful for format converting in some
cases.
4. Add new osgParticle wrappers, as well as some modification to the
osgParticle headers, for instance, change isEnabled() to getEnabled().
5. Some fixes to the osg serialization wrappers."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgWrappers/serializers/osg/BlendFunc.cpp

    r10976 r11018  
    99                         "osg::Object osg::StateAttribute osg::BlendFunc" ) 
    1010{ 
    11     ADD_GLENUM_SERIALIZER( SourceRGB, GLenum, GL_ONE );  // _source_factor 
    12     ADD_GLENUM_SERIALIZER( SourceAlpha, GLenum, GL_ONE );  // _source_factor_alpha 
    13     ADD_GLENUM_SERIALIZER( DestinationRGB, GLenum, GL_ONE );  // _destination_factor 
    14     ADD_GLENUM_SERIALIZER( DestinationAlpha, GLenum, GL_ONE );  // _destination_factor_alpha 
     11    ADD_GLENUM_SERIALIZER( SourceRGB, GLenum, GL_NONE );  // _source_factor 
     12    ADD_GLENUM_SERIALIZER( SourceAlpha, GLenum, GL_NONE );  // _source_factor_alpha 
     13    ADD_GLENUM_SERIALIZER( DestinationRGB, GLenum, GL_NONE );  // _destination_factor 
     14    ADD_GLENUM_SERIALIZER( DestinationAlpha, GLenum, GL_NONE );  // _destination_factor_alpha 
    1515}