Hello Maximilian,
Maximilian Haupt wrote:
> In the meantime, I moved them back into the scene, away from the user.
> But this didn't help either.
> But your hint adding another beginEdit and endEdit for the Geometry
> did it. I thought marking the PositionsField as edited is enough.
yes, it should be enough and I just checked that indeed this results in
invalidation of the volume:
GeometryPtr box = makeBoxGeo(3.f, 3.f, 3.f, 1, 1, 1);
GeoPositions3fPtr pos = GeoPositions3fPtr::dcast(box->getPositions());
beginEditCP(pos, GeoPositions3f::GeoPropDataFieldMask);
endEditCP(pos, GeoPositions3f::GeoPropDataFieldMask);
I'm not sure why that is not happening for you or if it does why it is
not enough...
Cheers,
Carsten
------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users