Page MenuHome

Use report warning opening file written by newer Blender binary
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Aug 17 2022, 10:29 AM.

Details

Summary

handle_subversion_warning() was reporting with RPT_ERROR type, replaced
with RPT_WARNING.

RPT_ERROR would stop python scripts opening files written by newer
Blender binary with bpy.ops.wm.open_mainfile(), preventing further code
from running. This does not seem right since Blender itself still loads
the files.

Ran into this checking T100446 in 2.93.

Diff Detail

Repository
rB Blender

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Aug 17 2022, 10:29 AM

indeed don't think having RPT_ERROR here makes sense... maybe it was because it does show as a RED message in the console? ;)

This revision is now accepted and ready to land.Aug 17 2022, 12:13 PM