Hi
I have a detailed question about the generation of new UID's applied to psItem objects, especially after a SplitStack....
From what I have seen, a new UID is generated when psItem::Commit() is called, when psItem::Save() has set up a trigger to call it 500ms later.
My question is does anyone forsee problems if ::Save() actually generates the new UID instead of waiting till ::Commit()? There is a specific problem in purifying glyphs which calls glyph->Save() [in psSpellManager::StartPurifying()] then sets up an event to complete purification for the glyph [with UID=0 if its for a single glyph out of a stack of many which needs its own, new UID after SplitStack()], because Commit has not yet been called.
It seems to investigate all the potential pitfalls seems very timeconsuming if someone on this board can say "DONT DO THAT because..." (or preferably "Great idea Dave, do it!!!").
thanks
Dave