We cleaned up the chaos by creating a new branch. The behaviour should match the previous behaviour now, let's call it "intuitive".
class OpenImage(Operator)
fails when using the default 'relative_path' property (True) on Windows. Python os.path.join on Windows does not recognize '//' to be the beginning of a directory and treats it like a filename.
We fixed that error and made the file browser start where the previous image was located. We also modified the dedfault location of the File Viewer to either:
a) Start where a file was selected the last time the File View was used or:
b) if an image had been previously assigned to the target_property, the File View will start with that image selected.
This is Blender's default behaviour
It probably failed when selecting an image for a reflection probe as well and should be working everywhere now.
We cleaned up the chaos by creating a new branch. The behaviour should match the previous behaviour now, let's call it "intuitive". class OpenImage(Operator) fails when using the default 'relative_path' property (True) on Windows. Python os.path.join on Windows does not recognize '//' to be the beginning of a directory and treats it like a filename. We fixed that error and made the file browser start where the previous image was located. We also modified the dedfault location of the File Viewer to either: a) Start where a file was selected the last time the File View was used or: b) if an image had been previously assigned to the target_property, the File View will start with that image selected. This is Blender's default behaviour
It probably failed when selecting an image for a reflection probe as well and should be working everywhere now.