damn it!
The bug was in my application code (stoopid copy/cut/paste-errors).
I therefore recall all curses I put on OSG ;-))
CU
Alex
Dirk Reiners wrote:
Hi Alex,
On Mon, 2005-01-03 at 10:48, Alexander Bisler wrote:
... later :
MFPnt3f *poPositionField = m_oGeoVertices->getFieldPtr();
Pnt3f newCoords; // input parameter
beginEditCP(m_oGeoVertices, GeoPositions3f::GeoPropDataFieldMask);
{
MFPnt3f *poPositionField = m_oGeoVertices->getFieldPtr();
poPositionField->setValue(newCoords,
myIndex);
...skipping next 2 vertices..
}
endEditCP (m_oGeoVertices, GeoPositions3f::GeoPropDataFieldMask);
But in my window the triangles don't change :(
The same with edges works fine... so it could be a problem with my
application-code (as usual), but since I basically use the same code fragments
for the triangles there shouldn't be a problem.
Any suggestions ?
That fragment looks ok. The most common reason for these kinds of
problems is that geometry's display list is not invalidated. That should
happen automatically when you edit the properties, but as a first test
you can try to turn the dlist caching off for your geometry:
beginEditCP(m_oGeometryCore, Geometry::DlistCacheFieldMask);
m_oGeometryCore->setDlistCache(false);
endEditCP(m_oGeometryCore, Geometry::DlistCacheFieldMask);
and see if that changes anything.
If it doesn't please show your code to Marcus and/or Andreas, if it does
please tell us, in that case there's something wrong in the core.
Yours
Dirk
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users