Test if type != NullFC? Does type->empty() or size() work? Does it also crash with GeoPositions3fPtr ?
Cheers, /Marcus Michael Schwier wrote: > Hi Andreas, > > unfortunateley your suggestion didn't make a difference, still crashes > at the same line :-/ > > Michael > > >> 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] >>> <mailto:[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] >> <mailto:[email protected]> >> https://lists.sourceforge.net/lists/listinfo/opensg-users > > > > > ------------------------------- > Michael Schwier, Universität Paderborn , Fach Informatik, Warburger > Strasse 100, D-33098 Paderborn, Deutschland > Tel. (0049) (0) 5251 / 60-4272 oder Frau Haupt unter -3312. Für Fax > -3530 benutzen. http://www.upb.de/cs/ag-domik > ------------------------------- > University of Paderborn, Department of Computer Science, Warburger > Strasse 100, D-33098 Paderborn, Germany > Telephone +49 / 5251 / 60-4272 or Mrs. Haupt +49 / 5251 / 60-3312. For > Fax use -3530. http://www.upb.de/cs/ag-domik > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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
