Page MenuHome

Fix T102893: Assert Opening File Browser (Win32)
ClosedPublic

Authored by Harley Acheson (harley) on Dec 1 2022, 9:18 PM.

Details

Summary

Fix debug assert opening File Browser on Windows platform.


Opening File Browser in Windows, relbase is initially "//" which does not pass debug assert in current_relpath_append that the last character be SEP character ("\" on Windows).

This patch just alters this assert to allow either SEP or ALTSEP, which will pass on all platforms.

Will commit without further review - approved by Julian to do so.

Diff Detail

Repository
rB Blender

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Dec 1 2022, 9:27 PM
This revision was automatically updated to reflect the committed changes.