Skip to content

Commit

Permalink
1.2.1 (2016-07-16T10:43Z)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtugend committed Jul 16, 2016
1 parent 0204570 commit 3f66ee2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion advancedfx_import_gameRecord.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) advancedfx.org
#
# Last changes:
# 2016-07-15 by dominik.matrixstorm.com
# 2016-07-16 by dominik.matrixstorm.com
#
# First changes:
# 2016-07-13 by dominik.matrixstorm.com
Expand Down Expand Up @@ -310,6 +310,8 @@ def ReadFile(fileName):
dagRootTransform = sfm.FirstSelectedDag()
if(None == dagRootTransform):
dagAnimSet = sfmUtils.CreateModelAnimationSet(dagName,modelName)
if(hasattr(dagAnimSet,'gameModel')):
dagAnimSet.gameModel.evaluateProceduralBones = False # This will look awkwardly and crash SFM otherwise
sfm.ClearSelection()
sfm.Select(dagName+":rootTransform")
dagRootTransform = sfm.FirstSelectedDag()
Expand Down
6 changes: 6 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ a custom (skin) model (modelName is '?' then).

Changelog:

1.2.1 (2016-07-16T10:43Z):
- advancedfx_import_bvh:
- Now sets gameModel.evaluateProceduralBones = False, to avoid player
models wrapping and hopefully also avoid crashing SFM (this is
relevant for demos using the new models in

1.2.0 (2016-07-15T13:37Z):
- advancedfx_import_bvh:
- Improved for AfxHookSource 1.6.0, now handles entity delete envents
Expand Down

0 comments on commit 3f66ee2

Please sign in to comment.