I think trying to determine if a script is action plugin or not is moot point. It may be an action plugin but it can still do some calls in init that are crashing pcbnew. Problem is the API calls that are crashing the program if it's not in correct state.
In this instance GetBoard() should do a sane thing and return None if pcbnew is not initialized yet.
I think trying to determine if a script is action plugin or not is moot point. It may be an action plugin but it can still do some calls in init that are crashing pcbnew. Problem is the API calls that are crashing the program if it's not in correct state.
In this instance GetBoard() should do a sane thing and return None if pcbnew is not initialized yet.