f4dd930376984e42a45f1b1ec5c332627943aca8
" This fixes some crashing issues I was having with certain FLT files that only had partial colour palettes Which are typically found in older 14.x files and file converted through Polytrans or Deep exploration etc. The code that grabs the color entries in ConvertFromFLT::visitColorPalette was assuming that there were full palettes always coming in and stepping was out of bounds in certain cases (not all) and thus crashing with access violations etc, Although the normal from Creator is to have 1024 or 512 entries , this is not a really requirement of the format, just the way Creator creates its default palettes etc. Code changed to look at the number of entries and use just those and fills in any missing entries with a default white colour"
Welcome to the OpenSceneGraph (OSG).
For up to date information on the project, how to compile and run libraries
and examples, and see the documentation on the OpenSceneGraph website.
http://www.openscenegraph.org
Robert Osfield.
robert@openscenegraph.com
November 2004.
Description
Languages
C++
89.7%
C
5.1%
CMake
2.3%
HTML
1.6%
Objective-C++
0.9%
Other
0.2%