mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
Another fix for local scaling in Bullet shapes.
This commit is contained in:
parent
e0d23cd027
commit
ba56763212
@ -232,10 +232,10 @@ add_shape(BulletShape *shape, CPT(TransformState) ts) {
|
||||
|
||||
_shapes.push_back(shape);
|
||||
|
||||
shape_changed();
|
||||
|
||||
// Restore the local scaling again
|
||||
np.set_scale(scale);
|
||||
|
||||
shape_changed();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user