diff options
author | Kent Mein <mein@cs.umn.edu> | 2006-01-30 22:59:33 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2006-01-30 22:59:33 +0300 |
commit | 8e9222ec217ab98980ffd75cd14387a062b46c9a (patch) | |
tree | ae31e42d4c2af0725486263cd70b1f7720606c96 /source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp | |
parent | ed81ff405fc6f0b459c368107343962502c99e37 (diff) |
More simple fixes to cleanup warnings and what not:
extern/bullet/BulletDynamics/ConstraintSolver/SimpleConstraintSolver.h
added newline at end of file.
intern/boolop/intern/BOP_Face2Face.cpp
fixed indentation and had nested declarations of a varible i used
for multiple for loops, changed it to just one declaration.
source/blender/blenkernel/bad_level_call_stubs/stubs.c
added prototypes and a couple other fixes.
source/blender/include/BDR_drawobject.h
source/blender/include/BSE_node.h
source/blender/include/butspace.h
source/blender/render/extern/include/RE_shader_ext.h
added struct definitions
source/blender/src/editmesh_mods.c
source/gameengine/Ketsji/KX_BlenderMaterial.cpp
source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
source/gameengine/Ketsji/KX_RaySensor.cpp
removed unused variables;
source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp
changed format of case statements to avoid warnings in gcc.
Kent
Diffstat (limited to 'source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp index 1c861ee98d1..fb268a6f95a 100644 --- a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp +++ b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp @@ -692,7 +692,6 @@ static CollisionShape* CreateBulletShapeFromMesh(RAS_MeshObject* meshobj, bool p //see if there is any polygons, if not, bail out. - int numUsedPolygons = 0; int numPoints = 0; SimdVector3* points = 0; @@ -1044,11 +1043,7 @@ void KX_ConvertBulletObject( class KX_GameObject* gameobj, if (meshobj) materialname = meshobj->GetMaterialName(0); - const char* matname = materialname.ReadPtr(); - - physicscontroller->SetObject(gameobj->GetSGNode()); - } |