minor edits to have the game engine and player building.

This commit is contained in:
Campbell Barton 2012-02-19 23:36:10 +00:00
parent e9f93b9117
commit 40c59b1a3d
3 changed files with 2 additions and 3 deletions

@ -32,6 +32,7 @@
#include "DNA_scene_types.h"
#include "DNA_object_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_modifier_types.h"
#include "DNA_ID.h"

@ -1417,7 +1417,7 @@ static void my_tex_space_mesh(Mesh *me)
my_boundbox_mesh(me, loc, size);
if(me->texflag & AUTOSPACE) {
if(me->texflag & ME_AUTOSPACE) {
if(me->key) {
kb= me->key->refkey;
if (kb) {

@ -1169,8 +1169,6 @@ void KX_GameObject::NodeSetWorldScale(const MT_Vector3& scale)
return;
}
MT_Vector3 *local = new MT_Vector3(scale);
p_scale[0] = 1/p_scale[0];
p_scale[1] = 1/p_scale[1];
p_scale[2] = 1/p_scale[2];