mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +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
|
||||
|
||||
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:
|
||||
skingroup = MDL.Skin()
|
||||
skingroup.type = 1
|
||||
|
|
Loading…
Reference in a new issue