Skip to content

Commit 3f66ee2

Browse files
committed
1.2.1 (2016-07-16T10:43Z)
1 parent 0204570 commit 3f66ee2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

advancedfx_import_gameRecord.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) advancedfx.org
22
#
33
# Last changes:
4-
# 2016-07-15 by dominik.matrixstorm.com
4+
# 2016-07-16 by dominik.matrixstorm.com
55
#
66
# First changes:
77
# 2016-07-13 by dominik.matrixstorm.com
@@ -310,6 +310,8 @@ def ReadFile(fileName):
310310
dagRootTransform = sfm.FirstSelectedDag()
311311
if(None == dagRootTransform):
312312
dagAnimSet = sfmUtils.CreateModelAnimationSet(dagName,modelName)
313+
if(hasattr(dagAnimSet,'gameModel')):
314+
dagAnimSet.gameModel.evaluateProceduralBones = False # This will look awkwardly and crash SFM otherwise
313315
sfm.ClearSelection()
314316
sfm.Select(dagName+":rootTransform")
315317
dagRootTransform = sfm.FirstSelectedDag()

readme.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ a custom (skin) model (modelName is '?' then).
7474

7575
Changelog:
7676

77+
1.2.1 (2016-07-16T10:43Z):
78+
- advancedfx_import_bvh:
79+
- Now sets gameModel.evaluateProceduralBones = False, to avoid player
80+
models wrapping and hopefully also avoid crashing SFM (this is
81+
relevant for demos using the new models in
82+
7783
1.2.0 (2016-07-15T13:37Z):
7884
- advancedfx_import_bvh:
7985
- Improved for AfxHookSource 1.6.0, now handles entity delete envents

0 commit comments

Comments
 (0)