|
|
@ -286,6 +286,8 @@ public class MeshHelper extends AbstractBlenderHelper { |
|
|
|
List<Map<String, Float>> result = new ArrayList<Map<String, Float>>(); |
|
|
|
List<Map<String, Float>> result = new ArrayList<Map<String, Float>>(); |
|
|
|
|
|
|
|
|
|
|
|
Structure parent = blenderContext.peekParent(); |
|
|
|
Structure parent = blenderContext.peekParent(); |
|
|
|
|
|
|
|
if(parent != null) { |
|
|
|
|
|
|
|
// the mesh might be saved without its parent (it is then unused)
|
|
|
|
Structure defbase = (Structure) parent.getFieldValue("defbase"); |
|
|
|
Structure defbase = (Structure) parent.getFieldValue("defbase"); |
|
|
|
List<String> groupNames = new ArrayList<String>(); |
|
|
|
List<String> groupNames = new ArrayList<String>(); |
|
|
|
List<Structure> defs = defbase.evaluateListBase(); |
|
|
|
List<Structure> defs = defbase.evaluateListBase(); |
|
|
@ -312,6 +314,7 @@ public class MeshHelper extends AbstractBlenderHelper { |
|
|
|
result.add(weightsForVertex); |
|
|
|
result.add(weightsForVertex); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return result; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|