From cb96dc40e8b1039382a1bb978b82adcedcd8c713 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 18 May 2009 10:27:09 +0000 Subject: Sensor objects were initialized as invisible, which conflicted with initializing the invisible setting from the outliner render object (which it seems nobody knew about). Added an 'Invisible' button to make this more clear, it seems like a display option but its also related to logic because the actuators can toggle this after the game starts. Without this its annoying to add UV's only to set the invisible flag. Sensor objects were not clearing the softbody gameflag --- source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp') diff --git a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp index 73693e68642..d81b6d5a653 100644 --- a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp +++ b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp @@ -1129,8 +1129,6 @@ void KX_ConvertBulletObject( class KX_GameObject* gameobj, // bullet will not synchronize, we must do it explicitely SG_Callbacks& callbacks = gameobj->GetSGNode()->GetCallBackFunctions(); callbacks.m_updatefunc = KX_GameObject::SynchronizeTransformFunc; - // make sensor object invisible by default - gameobj->SetVisible(false, false); } // don't add automatically sensor object, they are added when a collision sensor is registered else if (objprop->m_in_active_layer) -- cgit v1.2.3