Bug 250675

Summary: Paintop presets are not portable
Product: [Applications] krita Reporter: Sven Langkamp <sven.langkamp>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: halla
Priority: NOR Keywords: release_blocker
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sven Langkamp 2010-09-09 16:54:00 UTC
Version:           svn trunk (using KDE 4.4.5) 
OS:                Linux

Paintop prests that depend on some files are not portable as the preset includes the complete path of the file.

Reproducible: Always




OS: Linux (x86_64) release 2.6.32-24-generic
Compiler: cc
Comment 1 Halla Rempt 2010-09-13 13:01:20 UTC
What files are we talking about? GBR and ABR brushes?
Comment 2 Sven Langkamp 2010-09-13 13:06:27 UTC
All brush files so gbr, gih and abr.
Comment 3 Sven Langkamp 2010-09-13 15:06:04 UTC
SVN commit 1174873 by langkamp:

only use filename and not complete path to identify resources
BUG:250675


 M  +1 -1      krita/plugins/paintops/libbrush/kis_abr_brush.cpp  
 M  +1 -1      krita/plugins/paintops/libbrush/kis_gbr_brush.cpp  
 M  +1 -1      krita/plugins/paintops/libpaintop/kis_brush_option.cpp  
 M  +6 -0      libs/pigment/resources/KoResource.cpp  
 M  +3 -0      libs/pigment/resources/KoResource.h  
 M  +6 -6      libs/widgets/KoResourceServer.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1174873