obs-shadertastic
obs-shadertastic copied to clipboard
Fix path on warn not loading effect
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).