Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Update
opentoonz
0001-Use-the-system-mypaint-brushes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Use-the-system-mypaint-brushes.patch of Package opentoonz
From 9ed962d41dce825c60df869c96f062b3906cbc8d Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux <christophe@krop.fr> Date: Mon, 13 Apr 2020 18:42:56 +0200 Subject: [PATCH] Use the system mypaint brushes. --- toonz/sources/toonzlib/mypaintbrushstyle.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toonz/sources/toonzlib/mypaintbrushstyle.cpp b/toonz/sources/toonzlib/mypaintbrushstyle.cpp index b299c106..adfb30db 100644 --- a/toonz/sources/toonzlib/mypaintbrushstyle.cpp +++ b/toonz/sources/toonzlib/mypaintbrushstyle.cpp @@ -76,6 +76,9 @@ std::string TMyPaintBrushStyle::getBrushType() { return "myb"; } TFilePathSet TMyPaintBrushStyle::getBrushesDirs() { TFilePathSet paths; + // Load the mypaint brushes + const QString mypaintBrushes("/usr/share/mypaint-data/1.0/brushes"); + paths.push_back(TFilePath(mypaintBrushes)); paths.push_back(m_libraryDir + "mypaint brushes"); QStringList genericLocations = QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation); -- 2.26.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor