Bug 250675 - Paintop presets are not portable
Summary: Paintop presets are not portable
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2010-09-09 16:54 UTC by Sven Langkamp
Modified: 2010-09-13 15:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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