Resolved! DLL conflict. Sorry.
 
Michael
 
Gesendet: Dienstag, 18. März 2014 um 14:00 Uhr
Von: "Michael Raab" <michael-r...@gmx.de>
An: opensg-users@lists.sourceforge.net
Betreff: Re: [Opensg-users] OpenSG2.0 without OSG_1_COMPAT
I need to correct my comment. GeoVec3fPropertyRecPtr pnts = GeoVec3fProperty::create(); does not return NULL but the following operation pnts->addValue(Vec3f(-0.5, -0.5, 0.0f)); throws a NullReferenceException.
Here's the call stack:
 
 vdtCore.dll!std::vector<OSG::Vector<float,3>,std::allocator<OSG::Vector<float,3> > >::size() Zeile 879 + 0x3 Bytes    C++
 vdtCore.dll!std::vector<OSG::Vector<float,3>,std::allocator<OSG::Vector<float,3> > >::operator=(std::vector<OSG::Vector<float,3>,std::allocator<OSG::Vector<float,3> > >& _Right) Zeile 714 + 0x9 Bytes    C++
 vdtCore.dll!<Module>.OSG.MFieldVector<OSG::Vector<float,3>,std::allocator<OSG::Vector<float,3> > >.=(OSG.MFieldVector<OSG::Vector<float,3>,std::allocator<OSG::Vector<float,3> > >* ) + 0x2b Bytes    
 vdtCore.dll!OSG::MField<OSG::Vector<float,3>,0,std::allocator<OSG::Vector<float,3> > >::setValues(OSG::MField<OSG::Vector<float,3>,0,std::allocator<OSG::Vector<float,3> > >& obj) Zeile 127 + 0xc Bytes    C++
vdtCore.dll!OSG::MField<OSG::Vector<float,3>,0,std::allocator<OSG::Vector<float,3> > >::beginEdit(unsigned int uiAspect, std::vector<int,std::allocator<int> >& oOffsets) Zeile 756    C++
vdtCore.dll!OSG::FieldContainer::editMField<OSG::MField<OSG::Vector<float,3>,0,std::allocator<OSG::Vector<float,3> > > >(unsigned __int64 whichField, OSG::MField<OSG::Vector<float,3>,0,std::allocator<OSG::Vector<float,3> > >& oField) Zeile 410    C++
vdtCore.dll!OSG::TypedGeoVectorProperty<OSG::GeoVec3fPropertyDesc>::addValue(OSG::Vector<float,3>& val) Zeile 462    C++
 
Did I miss something?
 
Michael
 
 
Gesendet: Dienstag, 18. März 2014 um 13:20 Uhr
Von: "Michael Raab" <michael-r...@gmx.de>
An: opensg-users@lists.sourceforge.net
Betreff: Re: [Opensg-users] OpenSG2.0 without OSG_1_COMPAT
Hi Carsten,
 
thanks for the quick response. Another issue I ran into is that  GeoVec3fPropertyRecPtr pnts = GeoVec3fProperty::create(); seems to return NULL.
Thats not what I would expect. Any ideas?
 
Thanks,
Michael
 
Gesendet: Dienstag, 18. März 2014 um 13:09 Uhr
Von: "Carsten Neumann" <carsten.p.neum...@gmail.com>
An: opensg-users@lists.sourceforge.net
Betreff: Re: [Opensg-users] OpenSG2.0 without OSG_1_COMPAT
Hello Michael,

On Tue, Mar 18, 2014 at 11:57 AM, Michael Raab <michael-r...@gmx.de> wrote:
> what is the replacement for the Node::getActive/setActive methods?

since the introduction of traversal masks these were just a shortcut
for setTravMask(0xFFFFFFFF) and setTravMask(0x00000000), so those can
be used as a replacement.

Cheers,
Carsten

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech_______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech_______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to