forked from bartvdbraak/blender
Fix #27696: record animation in game engine not working with pre made fcurves.
This commit is contained in:
parent
1ec4ceac7e
commit
f426a74c65
@ -765,7 +765,7 @@ void KX_BlenderSceneConverter::WritePhysicsObjectToAnimationIpo(int frameNumber)
|
||||
{
|
||||
KX_GameObject* gameObj = (KX_GameObject*)parentList->GetValue(g);
|
||||
Object* blenderObject = gameObj->GetBlenderObject();
|
||||
if (blenderObject && blenderObject->parent==NULL && gameObj->GetPhysicsController() != NULL)
|
||||
if (blenderObject && blenderObject->parent==NULL && gameObj->IsDynamic())
|
||||
{
|
||||
//KX_IPhysicsController* physCtrl = gameObj->GetPhysicsController();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user