forked from teamnwah/openmw-tes3coop
update resource naming in getObjectAABB()
This commit is contained in:
parent
cd04911f3c
commit
9f813aa26c
1 changed files with 1 additions and 4 deletions
|
@ -12,8 +12,6 @@
|
||||||
|
|
||||||
#include <boost/lexical_cast.hpp>
|
#include <boost/lexical_cast.hpp>
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#define BIT(x) (1<<(x))
|
#define BIT(x) (1<<(x))
|
||||||
|
|
||||||
namespace OEngine {
|
namespace OEngine {
|
||||||
|
@ -576,14 +574,13 @@ namespace Physic
|
||||||
char uniqueID[8];
|
char uniqueID[8];
|
||||||
sprintf( uniqueID, "%07.3f", scale );
|
sprintf( uniqueID, "%07.3f", scale );
|
||||||
std::string sid = uniqueID;
|
std::string sid = uniqueID;
|
||||||
std::string outputstring = mesh + uniqueID + "\"|";
|
std::string outputstring = mesh + uniqueID;
|
||||||
|
|
||||||
mShapeLoader->load(outputstring, "General");
|
mShapeLoader->load(outputstring, "General");
|
||||||
BulletShapeManager::getSingletonPtr()->load(outputstring, "General");
|
BulletShapeManager::getSingletonPtr()->load(outputstring, "General");
|
||||||
BulletShapePtr shape =
|
BulletShapePtr shape =
|
||||||
BulletShapeManager::getSingleton().getByName(outputstring, "General");
|
BulletShapeManager::getSingleton().getByName(outputstring, "General");
|
||||||
|
|
||||||
|
|
||||||
btTransform trans;
|
btTransform trans;
|
||||||
btVector3 btmin, btmax;
|
btVector3 btmin, btmax;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue