PDA

View Full Version : mi_query crash in LightIterator



Puppet
September 30th, 2008, 17:11
Sorry, solved :)

Puppet
October 1st, 2008, 10:29
And nevertheless...

mi_query(miQ_INST_ITEM, NULL, *light, &ltag);
This code cause of crash if it used inside LightIterator and light mode == 4

bart
October 2nd, 2008, 15:46
Meaning the light instance came from the connection of lights to the instance?

The mode is handled explicitly, for example, in the mib_illum_* examples.