mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
update resource naming in getObjectAABB()
This commit is contained in:
parent
cd04911f3c
commit
9f813aa26c
@ -12,8 +12,6 @@
|
||||
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define BIT(x) (1<<(x))
|
||||
|
||||
namespace OEngine {
|
||||
@ -576,14 +574,13 @@ namespace Physic
|
||||
char uniqueID[8];
|
||||
sprintf( uniqueID, "%07.3f", scale );
|
||||
std::string sid = uniqueID;
|
||||
std::string outputstring = mesh + uniqueID + "\"|";
|
||||
std::string outputstring = mesh + uniqueID;
|
||||
|
||||
mShapeLoader->load(outputstring, "General");
|
||||
BulletShapeManager::getSingletonPtr()->load(outputstring, "General");
|
||||
BulletShapePtr shape =
|
||||
BulletShapeManager::getSingleton().getByName(outputstring, "General");
|
||||
|
||||
|
||||
btTransform trans;
|
||||
btVector3 btmin, btmax;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user