BGE LibNew: Only warn about meshes with users in debug builds.

This information only really seems to be for helping developers track
down bugs, and isn't really something the user needs. So, lets not spam
their console.
This commit is contained in:
Mitchell Stokes
2014-05-20 15:04:25 -07:00
parent 38fcc3e14b
commit 0865b4f48e

View File

@@ -1522,7 +1522,9 @@ RAS_MeshObject *KX_BlenderSceneConverter::ConvertMeshSpecial(KX_Scene* kx_scene,
/* Watch this!, if its used in the original scene can cause big troubles */
if (me->us > 0) {
#ifdef DEBUG
printf("Mesh has a user \"%s\"\n", name);
#endif
me = (ID*)BKE_mesh_copy_ex(from_maggie, (Mesh*)me);
me->us--;
}