Carsten Neumann wrote:
> Hello Eric,
>
> Maslowski, Eric wrote:
>> Hello,
>> This little problem popped up again with the latest daily build preventing
>> our active stereo cluster windows to work. I just had to add a range check
>> back to hasExtension() in OSGWindow.inl and change the "vector<bool>" found
>> in OSGWindow to "vector<UInt8>". Can someone add this to the trunk so it
>> gets included in any future builds of 1.8? (even though we should all be
>> moving to 2.0 at this point)
>>
>> inline bool Window::hasExtension(UInt32 id)
>> {
>> + if(id >= _availExtensions.size())
>> + return false;
>> +
>> return _availExtensions[id];
>> }
>
> well, I've put the range check in (although honestly I'd rather now what
> is going wrong than work around it...)
Suggestion: How about adding a log-warning message so that any
side-effects from the check can be detected in the future?
Cheers,
/Marcus
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users