Group :: Gráficos
RPM: opentoonz
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: opensuse-0001-Use-the-system-mypaint-brushes.patch
Download
Download
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