1
This commit is contained in:
parent
d9898873d9
commit
4239f2c7fc
@ -1,5 +1,7 @@
|
|||||||
#include "precompile.h"
|
#include "precompile.h"
|
||||||
|
|
||||||
|
#include <f8/udplog.h>
|
||||||
|
|
||||||
#include "mapcollider.h"
|
#include "mapcollider.h"
|
||||||
|
|
||||||
static const float MAP_SCALE = 10;
|
static const float MAP_SCALE = 10;
|
||||||
@ -119,12 +121,22 @@ namespace mc
|
|||||||
node->parent = this;
|
node->parent = this;
|
||||||
node->Read(childs_arr->At(i));
|
node->Read(childs_arr->At(i));
|
||||||
if (childs.find(node->name) != childs.end()) {
|
if (childs.find(node->name) != childs.end()) {
|
||||||
|
#if 1
|
||||||
|
f8::UdpLog::Instance()->Warning
|
||||||
|
(
|
||||||
|
"node->name:%s exists",
|
||||||
|
{
|
||||||
|
node->name
|
||||||
|
});
|
||||||
|
#else
|
||||||
A8_ABORT();
|
A8_ABORT();
|
||||||
}
|
#endif
|
||||||
|
} else {
|
||||||
childs[node->name] = node;
|
childs[node->name] = node;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void RotateBounds(const glm::vec3& center,
|
void RotateBounds(const glm::vec3& center,
|
||||||
const glm::vec3& size,
|
const glm::vec3& size,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user