summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2022-03-13 14:46:41 +0200
committerDavid Faure <faure@kde.org>2022-03-13 13:32:24 +0000
commitb36e7aefab12e5703c8ecdf4532cd85404d22884 (patch)
tree2fe1b82ecf2e51bfb12b2e791c1115033a1b81d2
parent1a9f51d1ae4656645dd42a8b500e5941f9da0509 (diff)
downloadshared-mime-info-b36e7aefab12e5703c8ecdf4532cd85404d22884.tar.gz
model/mtl: add Blender comment magic, increase newmtl range
Longer range for newmtl in case the Blender comment contains a longish file path.
-rw-r--r--data/freedesktop.org.xml.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 67e64be2..8edf4248 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -5892,7 +5892,8 @@ command to generate the output files.
<comment>OBJ 3D model material library</comment>
<sub-class-of type="text/plain"/>
<magic priority="50">
- <match type="string" value="newmtl " offset="0:64"/>
+ <match type="string" value="# Blender MTL File: '" offset="0"/>
+ <match type="string" value="newmtl " offset="0:256"/>
</magic>
<glob pattern="*.mtl"/>
</mime-type>