Re: Getting the feeder of a terrain that is loaded from file
sueastside <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.devel |
|---|---|
| Message-ID | <[email protected]> |
scfQueryInterface<iTerrainFactory>(terrainWrapper->GetFactory()->GetMeshObjectFactory()); my bad. On 05/27/2012 03:31 PM, Dominik Seifert wrote: > I got the following code: http://pastebin.com/9Td9rdrs > > > The problem is in line 27 because the returned factory is always null. > I checked and the factory of the wrapper is not a terrain factory. It > is of type csMeshFactoryWrapper - Which makes sense. > > At the same time there, there is no getter to obtain the factory from > the terrain object. Maybe that getter should simply be added? It would > certainly make things work. > In the meantime, is there any other way to get things cooking, i.e. to > get that factory? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Crystal-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/crystal-develop ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Crystal-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-develop