mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 22:54:10 +02:00
Fix build with openimageio-3 Run more tests. Closes: https://bugs.gentoo.org/952517 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41967 Signed-off-by: Sam James <sam@gentoo.org>
30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
From b629af0a3125f9cf40814ed254ab1259b2b3401a Mon Sep 17 00:00:00 2001
|
|
From: Paul Zander <negril.nx@gmail.com>
|
|
Date: Tue, 8 Apr 2025 22:15:17 +0200
|
|
Subject: [PATCH] =?UTF-8?q?error:=20cannot=20convert=20=E2=80=98bool?=
|
|
=?UTF-8?q?=E2=80=99=20to=20=E2=80=98App::DocumentInitFlags=E2=80=99?=
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Caused by https://github.com/FreeCAD/FreeCAD/pull/19136
|
|
Partial fix in https://github.com/FreeCAD/FreeCAD/pull/20058
|
|
|
|
Signed-off-by: Paul Zander <negril.nx@gmail.com>
|
|
|
|
diff --git a/src/Mod/Cloud/App/AppCloud.cpp b/src/Mod/Cloud/App/AppCloud.cpp
|
|
index 3ec811dc04..78b6d7f819 100644
|
|
--- a/src/Mod/Cloud/App/AppCloud.cpp
|
|
+++ b/src/Mod/Cloud/App/AppCloud.cpp
|
|
@@ -1451,7 +1451,7 @@ void Cloud::Module::LinkXSetValue(std::string filename)
|
|
string newName;
|
|
Document* currentDoc = GetApplication().getActiveDocument();
|
|
newName = GetApplication().getUniqueDocumentName("unnamed");
|
|
- newDoc = GetApplication().newDocument(newName.c_str(), (const char*)path.c_str(), true);
|
|
+ newDoc = GetApplication().newDocument(newName.c_str(), (const char*)path.c_str(), {.createView=true});
|
|
GetApplication().setActiveDocument(newDoc);
|
|
this->cloudRestore((const char*)path.c_str());
|
|
GetApplication().setActiveDocument(currentDoc);
|
|
--
|
|
2.49.0
|
|
|