hi,
i know that mine is not a new question but:
"Why can't I add a Color4f to a Color4f property?"
more specifically, this code:
GeoColors4fPtr colors;
colors = osg::GeoColors4fPtr::dcast(geo->getColors());
if( colors == NullFC )
colors = GeoColors4f::create();
beginEditCP(colors, GeoColors4f::GeoPropDataFieldMask);
colors->addValue(Color4f(0,0,0,0));
endEditCP(colors, GeoColors4f::GeoPropDataFieldMask);
gives me a compilation error like this:
'osg::GeoProperty<GeoPropertyDesc>::addValue': impossible to convert
parameter 1 from 'osg::Color4<ValueTypeT>' to 'const
osg::Color3<ValueTypeT> &'
where is my fault?
thank you
francesco
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users