mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Fixing formatting to be KR
This commit is contained in:
parent
d0f9b78710
commit
66dc4e17ad
1 changed files with 1 additions and 3 deletions
|
@ -725,9 +725,7 @@ void Model::renderCollisionProxies(float alpha) {
|
||||||
bool Model::isPokeable(ModelCollisionInfo& collision) const {
|
bool Model::isPokeable(ModelCollisionInfo& collision) const {
|
||||||
// the joint is pokable by a collision if it exists and is free to move
|
// the joint is pokable by a collision if it exists and is free to move
|
||||||
const FBXJoint& joint = _geometry->getFBXGeometry().joints[collision._jointIndex];
|
const FBXJoint& joint = _geometry->getFBXGeometry().joints[collision._jointIndex];
|
||||||
if (joint.parentIndex == -1 ||
|
if (joint.parentIndex == -1 || _jointStates.isEmpty()) {
|
||||||
_jointStates.isEmpty())
|
|
||||||
{
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// an empty freeLineage means the joint can't move
|
// an empty freeLineage means the joint can't move
|
||||||
|
|
Loading…
Reference in a new issue