obs-shadertastic icon indicating copy to clipboard operation
obs-shadertastic copied to clipboard

Fix path on warn not loading effect

Open ludolpif opened this issue 5 months ago • 0 comments

Hi, a log message contains a duplicate base path, at least under linux.

21:59:33.334: [shadertastic] NOT LOADING EFFECT /home/ludolpif/obs/shadertastic/effects//home/ludolpif/obs/shadertastic/effects/shake.filter.shadertastic : an effect with the name 'shake' already exist
21:59:33.339: [shadertastic] NOT LOADING EFFECT /home/ludolpif/obs/shadertastic/effects//home/ludolpif/obs/shadertastic/effects/shake.filter.shadertastic : an effect with the name 'shake' already exist

This patch may be tested under Windows before consider merging, I didn't tried that yet. (I can't be sure that zip.c_str() returns absolute path under windows as on linux, without trying it but it seems likely).

ludolpif avatar Aug 25 '24 20:08 ludolpif