materialmerger compiling problem on OSG OpenSceneGraph fork

19 views
Skip to first unread message

Morakot Pilouk

unread,
Jun 5, 2013, 12:45:00 AM6/5/13
to os...@googlegroups.com
Just to report a compiling problem on the file ReaderWriterMATERIALMERGER.cpp at Line 63:

for(std::map<osg::StateSet*, std::vector<osg::Geometry*> >::iterator it = nodes.begin(); it != nodes.end(); it++)

I changed it to:

for(std::map<osg::StateSet*, std::vector<osg::Geometry*>, StateSetComparator >::iterator it = nodes.begin(); it != nodes.end(); it++)

and the problem went away.

I pulled the source code from the master branch 2 days ago.



Cedric Pinson

unread,
Jun 5, 2013, 7:28:54 AM6/5/13
to os...@googlegroups.com
Hi,
Could you send back a pull request ?

Cedric Pinson
Co-founder

--
You received this message because you are subscribed to the Google Groups "osgjs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osgjs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages