Excuse the top posting.. I think that a better option would be to get rid of all the legacy code for 2.0. Having just finished a big project that was using 2.0 I can tell you that trying to make your old 1.x code work with 2.0 is a huge pain...and frankly not worth the hassle.
A better option would have been to spend the few days to port everything to 2.0 In the end I probably spent just as much time fighting all the deprecated interfaces, OSG_1_COMPAT, and deprecated properties to make them work properly. Having one codepath is really in everyones *best* interest. There are to many permutations to test thoroughly as it stands. So here are my suggestions: 1. Get rid of enable_osg1_compat 2. Get rid of disable_deprecated 3. Get rid of enable_deprecated_props 4. Write a GOOD porting guide that covers how to change the 1.x code into 2.0 code Having reflected my last project I also have some other suggestions. 1. Get rid of the RenderAction (yet another code path) 2. Documentation for 2.0 creating,editing FC's in 2.0 (ex. FClusterLocal!) Thats all I have for now :) -Dan On 5/25/07, Gerrit Voss <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm thinking of changing the getFoo field access functions to readFoo. > > The main reason is that with OSG_1_COMPAT enabled there are a lot of > unnecessary changes recorded (internally during rendering), because > the compiler selects the wrong, non const, get. Which means the > performance is dreadful. > > >From the two options, > > 1) chasing down all the locations and make sure the const version > is used > > and > > 2) change getFoo to readFoo to make sure internally no unnecessary > changes are recorded > > > I'm currently leaning towards 2). Main reason is it will catch > everything at once (at least internal). 1) will be a constant battle. > > > Any opinions ?? > > > > gerrit > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Opensg-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-core > -- Daniel E. Shipton Software Engineer, Infiscape Corp. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Opensg-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-core
