File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 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 ()
Original file line number Diff line number Diff line change @@ -74,6 +74,12 @@ a custom (skin) model (modelName is '?' then).
7474
7575Changelog:
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+
77831.2.0 (2016-07-15T13:37Z):
7884 - advancedfx_import_bvh:
7985 - Improved for AfxHookSource 1.6.0, now handles entity delete envents
You can’t perform that action at this time.
0 commit comments