Hi lab_zj,

Could you please sign with the name you wish to be addressed by as it
makes communication far more human.

Also for future submissions could you please subscribe to and send
them to osg-submissions list as posts to osg-users can easily be lost
amongst the flood of messages.

Thanks,
Robert.

On Tue, Jun 17, 2008 at 4:49 AM, lab_zj <[EMAIL PROTECTED]> wrote:
> This package contains two fix for OSG-2.5.2 svn version:
> 1. Location: <OSG_SOURCE_ROOT>\src\osgPlugins\osg\Fog.cpp
>    Reason: ".osg" writter plugins output incorrected string for osg::Fog's
> Mode.
>    How to Fix:
>      Line 138 in Fog.cpp: case(Fog::LINEAR): return "NERVER";
>      Change to:           case(Fog::LINEAR): return "LINEAR";
> 2. Location: <OSG_SOURCE_ROOT>\src\osgPlugins\ive\
>    Reason: ".ive" writter plugins missing to process "osg::Fog".
>    How to Fix:
>    (1). Line 86 in ReadWrite.h:
>         Add: #define IVEFOG                          0x00001133
>    (2). In CMakeLists.txt
>         "SET(TARGET_SRC" section Add: Fog.cpp
>         "SET(TARGET_H" section Add: Fog.h
>    (3). In DataInputStream.cpp
>         Line 54,Add:    #include "Fog.h"
>         Line 1185,Add:  else if(attributeID == IVEFOG){
>                             attribute = new osg::Fog();
>                             ((ive::Fog*)(attribute))->read(this);
>                         }
>    (4). In DataOutputStream.cpp
>         Line 57,Add:    #include "Fog.h"
>         Line 832,Add:   // This is a Fog
>                         else if(dynamic_cast<const osg::Fog*>(attribute)){
>                             ((ive::Fog*)(attribute))->write(this);
>                         }
>    (5). Add newly created ive::Fog Object in Fog.h and Fog.cpp.
>
> How to apply Fix:
>    Just copy all files in this package into OSG's source tree.
>
> ________________________________
> lab_zj
> 2008-06-17
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to