Hi all,

I'm working on a 3D file Reader inherited from GeoReader and I need to cache 
the data before displaying it with the "geometry_engine" function. But here is 
my problem:

When the my format is recognized, the description call the "build" static 
function to construct the reader, then the data is processed according to the 
knobs, but... before displaying the data through "geometry_engine", it 
mysteriously destroys the reader and construct it again, destroying the entire 
cache meanwhile.

I compiled the my3dReader included in the examples (Nuke7.0v2), after adding 
debug messages in each function, setting the "Test" function always with 
"return true" and commenting the process inside the "geometry_engine" function 
and I get the same behaviour:

my3dReaderFormat: buildformat
my3dReaderFormat: Constructor...
my3dReaderFormat: knobs
my3dReader: Test
my3dReader: Build
my3dReader: Constructor...
my3dReader: knob_changed
my3dReader: append
my3dReader: get_geometry_hash
my3dReader: _validate
my3dReader: get_geometry_hash
my3dReader: _validate
my3dReader: Destructor...
my3dReader: Test
my3dReader: Build
my3dReader: Constructor...
my3dReader: _validate
my3dReader: geometry_engine
my3dReader: append
my3dReader: append


Does anybody knows why the destructor is called here? Am I missing something?


Thanks for the help



Jeremy.

------------------------
Jeremy



_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to