Hi again, Ok, so I managed to do the primitive-deletion thing by hacking the GeoInfo header, and making clear_primitives() public instead of private.
I'd be interested to know what's in the clear_primitives() method, so I can try and roll my own instead of hacking the GeoInfo header. Any ideas? Thanks, Ivan On Sat, Jan 7, 2012 at 1:26 AM, Ivan Busquets <[email protected]>wrote: > Hi, > > Is there a way to delete all primitives from a GeoInfo (in a > SourceGeo-derived op) ? > > So far I've tried to get the Cache for the GeoInfo and clear the > primitives, but any attempt at reading/writing > "geoinfo.get_cache_pointer()->primitives" is crashing on me. > > Alternatively, I could do with deleting a single object from a > GeometryList, but I only see a GeometryList::delete_objects() method? > Is there a way to delete a single one? > > > Thanks, > Ivan > >
_______________________________________________ Nuke-dev mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
