|
Hi,
I need to have a FBList dropdown to update the items and the currently selected item in the list, when selecting specific objects in the scene. So, I select a null, and the list automatically updates to show me the list of multirefparents and which one is active.
I wanted to use the kFBSceneChangeSelect, but that gives me this error when i run other scripts while its running.
“WindowsError: exception: access violation writing 0x0000000C” refering to a line in another script.
I can think of a few solutions.
I could use the UIIdle instead, but that seems to be a bit overkill to have it check for the selected object all the time. Or am I wrong?
I could also have a button that updates the list, but that doesnt seem very elegant, as this will need to happen quite often.
Or I could activate/deactivate the selecttionevent when I want to use this tool.
So the question is, is there any other/better way of doing this? or avoiding the error?
|
|
|