mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-01 17:12:15 +00:00
Fix for single skin being marked as skingroup
This commit is contained in:
parent
94c3c8c2cb
commit
31fa7a81ef
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def make_skin(operator, mdl, mesh):
|
||||||
materials = bpy.context.object.data.materials
|
materials = bpy.context.object.data.materials
|
||||||
|
|
||||||
for mat in materials:
|
for mat in materials:
|
||||||
allNodes = mat.node_tree.nodes
|
allNodes = list(filter(lambda node: node.type == "TEX_IMAGE", mat.node_tree.nodes))
|
||||||
if len(allNodes) > 1:
|
if len(allNodes) > 1:
|
||||||
skingroup = MDL.Skin()
|
skingroup = MDL.Skin()
|
||||||
skingroup.type = 1
|
skingroup.type = 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue