mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
flatten shouldn't scale effective normal
This commit is contained in:
parent
65e2377242
commit
4d3451edab
@ -91,6 +91,7 @@ void CollisionSolid::
|
||||
xform(const LMatrix4f &mat) {
|
||||
if (has_effective_normal()) {
|
||||
_effective_normal = _effective_normal * mat;
|
||||
_effective_normal.normalize();
|
||||
}
|
||||
|
||||
mark_viz_stale();
|
||||
|
Loading…
x
Reference in New Issue
Block a user