The buildDestination variable is set via either the 'Build Story' menu item or from store state.
If user creates a new story and turns on the 'Auto Build' feature without first using 'Build Story' then buildDestination wont have a value when the autoBuildTick method is called. This results in a error.
A possible solution would be to enable / disable the 'Auto Build' menu item based on buildDestination the same way the 'Rebuild Story' menu item is.
The buildDestination variable is set via either the 'Build Story' menu item or from store state.
If user creates a new story and turns on the 'Auto Build' feature without first using 'Build Story' then buildDestination wont have a value when the autoBuildTick method is called. This results in a error.
A possible solution would be to enable / disable the 'Auto Build' menu item based on buildDestination the same way the 'Rebuild Story' menu item is.
eg. autoItem = self.menus.FindItemById(StoryFrame.STORY_AUTO_BUILD) autoItem.Enable(self.buildDestination != '')