Ben, What are you doing with these commands?
SI can, and in fact _will_ consistenly lock up if you modify any aspects of the scene (param values, custom properties, etc) in a thread other than the main or renderer threads. Also, it will lock up if you change stuff on the renderer thread _while_ you are holding the global scene lock.
Welcome to the wonderful world of SI plug-in development and all its undocumented goodness!
On 4/19/2012 9:25 PM, Ben Houston wrote:
Hi all, Welcome new SI team! I've got a question for you. I am debugging a renderer integration issue. The issue is that Softimage is locking up when I try to execute a Command (a command exposed via Softimage's Command plugin framework) within a preview render update. Softimage does not lock up when I render the frame via the "Render> Current Frame." Currently, my suspicion is that executing "Commands" is not allowed on this specific preview render thread because it is a background thread. If this is the case, then the recommended solution is to should move the calling of these commands to the "siOnBeginFrame" event? My suspicion is that this event (siOnBeginFrame) is guaranteed to happen on the main thread via some magic even if ctxt.TriggerEvent( siOnBeginFrame, ... ) is called from the background preview render thread.

