
Operator would call `WM_file_read()` directly whith G.main->name as filepath, which gets freed whith main during new reading of file... Now use a local copy instead.
Operator would call `WM_file_read()` directly whith G.main->name as filepath, which gets freed whith main during new reading of file... Now use a local copy instead.