Robert Osfield schrieb:
Hi Ralf,

On Mon, Feb 23, 2009 at 11:21 AM, Ralf Habacker
<[email protected]> wrote:
BTW: In ReaderWriterOGR.cpp the lines 141-142 are dupliced as shown below
141           if (options->getOptionString().find("UseRandomColorByFeature")
!= std::string::npos)
142               useRandomColorByFeature = true;
143           if (options->getOptionString().find("useRandomColorByFeature")
!= std::string::npos)
144               useRandomColorByFeature = true;

They aren't duplicated, there is a difference in case of the u.
ah i see - the option is described starting with a lower case character

supportsOption("useRandomColorByFeature", "Assign a random color to each feature.");

so I assumed that the upper case form is somehow historical - Sorry for the noise.

Ralf


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

Reply via email to