Hi,

I seem to have uncovered another issue with the recent changes to VPB. If I try 
to do a trivial patch of an existing database I get the error:  Build 
configuration invalid : Previous build options not compatible with new build 
options, cannot patch database.

To reproduce the problem I am using the following simple test case:

-create the database:
vpbmaster --bluemarble-west -t hills.png --bluemarble-east -t hills2.png -o 
./out/test.osgb

-then patch it:
vpbmaster --patch ./out/test.osgb --add --layer 1 --bluemarble-east -t hill3.png

This used to work without issue. 

I have started tracking down what is going wrong and it seems to be failing in 
BuildOptions.cpp method: bool BuildOptions::compatible(BuildOptions& rhs) const.
This method returns false as the number of image options are different ( if 
(_imageOptions.size() != rhs._imageOptions.size()) return false; ). It seems 
that when the new .soure file is written out (in the test case above, the file: 
test.osgb.1.source) it contains two identical ImageOptions.

I will keep investigating and post any further information, or hopefully a fix.

Cheers,

Brad

ps- Windows XP, Visual Studio 2008 SP1




DISCLAIMER:---------------------------------------------------------------------------
This e-mail transmission and any documents, files and previous e-mail messages
attached to it are private and confidential. They may contain proprietary or 
copyright
material or information that is subject to legal professional privilege. They 
are for
the use of the intended recipient only.  Any unauthorised viewing, use, 
disclosure,
copying, alteration, storage or distribution of, or reliance on, this message is
strictly prohibited. No part may be reproduced, adapted or transmitted without 
the
written permission of the owner. If you have received this transmission in 
error, or
are not an authorised recipient, please immediately notify the sender by return 
email,
delete this message and all copies from your e-mail system, and destroy any 
printed
copies. Receipt by anyone other than the intended recipient should not be 
deemed a
waiver of any privilege or protection. Thales Australia does not warrant or 
represent
that this e-mail or any documents, files and previous e-mail messages attached 
are
error or virus free.
--------------------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to