---------- Forwarded message ----------
From: Daniel Guilliams <dani...@iastate.edu>
Date: Wed, Jun 2, 2010 at 1:44 PM
Subject: Fwd: OSGSharePtrGraphOp patch
To: dkab...@iastate.edu




-------- Original Message --------  Subject: OSGSharePtrGraphOp patch  Date:
Tue, 25 May 2010 15:21:53 -0500  From: Daniel Guilliams
<dani...@iastate.edu> <dani...@iastate.edu>  To:
opensg-users@lists.sourceforge.net

Hello,

There was an issue in OSGSharePtrGraphOp.cpp, in the function shareFC(). The
editField() function was being called for all single non-pointer fields,
which caused them to be added to the changed list, thus calling their
changed() functions for those fields.

This was causing undesirable behavior in some cases. (in my instance,
ContribCgFXMaterial's effectString field was being shown as changed, even
though it wasn't.  This meant the whole material was re-initialized, which
un-did all of the manual parameter setting I had done to it.)

The patch is attatched.  It simply skips all non-pointer fields.

Hope this helps!

Dan Guilliams
Developer, Meta!Blast Project
VRAC, Iowa State University

Attachment: 0001-Changed-shareFC-in-SharePtrGraphOp-to-skip-non-point.patch
Description: Binary data

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to