mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Fix compile error for Maya 6 and 6.5
This commit is contained in:
parent
73b72386a0
commit
7785426d2c
@ -991,7 +991,7 @@ process_model_node(MayaNodeDesc *node_desc) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
MTransformationMatrix matrix (transform.transformationMatrix());
|
MTransformationMatrix matrix (transform.transformationMatrix());
|
||||||
MVector tl = matrix.getTranslation(MSpace::kWorld);
|
MVector tl = matrix.translation(MSpace::kWorld);
|
||||||
// Stop rediculously small values like -4.43287e-013
|
// Stop rediculously small values like -4.43287e-013
|
||||||
if (tl.x < 0.0001) {
|
if (tl.x < 0.0001) {
|
||||||
tl.x = 0;
|
tl.x = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user