[Bf-blender-cvs] [4b9c9a7bea4] master: Fix missing document icons on macOS 10.4 and earlier

Johannes Jakob noreply at git.blender.org
Mon Mar 22 16:06:22 CET 2021


Commit: 4b9c9a7bea4a004a2b1d95e0a41c90b05637dca9
Author: Johannes Jakob
Date:   Mon Mar 22 14:54:33 2021 +0100
Branches: master
https://developer.blender.org/rB4b9c9a7bea4a004a2b1d95e0a41c90b05637dca9

Fix missing document icons on macOS 10.4 and earlier

Re-adds a legacy document icon for macOS 10.14 Mojave that is
consistent with the system generated document icon on macOS 11
Big Sur. It uses the old-style document sheet icon, but includes the
file extension underneath the Blender icon (unlike the previous
legacy document icon that was removed in D10267).

Adds the missing description for the exported type identifier.
Finder now correctly displays “Blender File” instead of “data”
for Blender files.

Differential Revision: https://developer.blender.org/D10746

===================================================================

M	release/darwin/Blender.app/Contents/Info.plist
A	release/darwin/Blender.app/Contents/Resources/Blender_Legacy_Document_Icon.icns

===================================================================

diff --git a/release/darwin/Blender.app/Contents/Info.plist b/release/darwin/Blender.app/Contents/Info.plist
index 67b786bd933..9b2d5248d8e 100644
--- a/release/darwin/Blender.app/Contents/Info.plist
+++ b/release/darwin/Blender.app/Contents/Info.plist
@@ -11,6 +11,8 @@
 			<array>
 				<string>blend</string>
 			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>Blender_Legacy_Document_Icon.icns</string>
 			<key>CFBundleTypeName</key>
 			<string>Blender File</string>
 			<key>CFBundleTypeOSTypes</key>
@@ -62,6 +64,8 @@
 			</array>
 			<key>UTTypeIdentifier</key>
 			<string>org.blenderfoundation.blender.file</string>
+			<key>UTTypeDescription</key>
+			<string>Blender File</string>
 			<key>UTTypeIcons</key>
 			<dict>
 				<key>UTTypeIconName</key>
diff --git a/release/darwin/Blender.app/Contents/Resources/Blender_Legacy_Document_Icon.icns b/release/darwin/Blender.app/Contents/Resources/Blender_Legacy_Document_Icon.icns
new file mode 100644
index 00000000000..67713105fe2
Binary files /dev/null and b/release/darwin/Blender.app/Contents/Resources/Blender_Legacy_Document_Icon.icns differ



More information about the Bf-blender-cvs mailing list