Skip to content

Commit

Permalink
Merge pull request #2917 from MoritzBrueckner/clear-errors
Browse files Browse the repository at this point in the history
Clear warnings and errors when loading other blend files
  • Loading branch information
luboslenco authored Aug 25, 2023
2 parents c3254b8 + bd61dd3 commit d8a34d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blender/arm/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def on_save_pre(context):
@persistent
def on_load_pre(context):
unload_py_libraries()
log.clear(clear_warnings=True, clear_errors=True)


@persistent
Expand Down

0 comments on commit d8a34d7

Please sign in to comment.