Hi Michael,

quite strange what happens if you replace

GeoPTypesPtr type = GeoPTypesUI8::create();

with

GeoPTypesUI8Ptr type = GeoPTypesUI8::create();

Andreas

> Hello,
> 
> I am again with problems on a mac. I am trying to set up a geometry node 
> with GL_QUAD_STRIP. Compiles fine and crashes during runtime on the 
> indicated line:
> 
>   //now create the geometry node
>   GeoPTypesPtr type = GeoPTypesUI8::create();
>   beginEditCP(type, GeoPTypesUI8::GeoPropDataFieldMask);
>     type->addValue(GL_QUAD_STRIP); <-------------------- here it crashes 
> on runtime
>   endEditCP(type, GeoPTypesUI8::GeoPropDataFieldMask);
> 
> The only info I get is: Program received signal: "EXC_BAD_ACCESS". I 
> don't know if the GL constant is the problem or if the "addValue" is 
> causing the trouble? And the xCode debugger isn't really helpfull with 
> determining whats actually happening (oh how I miss Visual Studio ;-).
> 
> Michael
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to