mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -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) {
|
xform(const LMatrix4f &mat) {
|
||||||
if (has_effective_normal()) {
|
if (has_effective_normal()) {
|
||||||
_effective_normal = _effective_normal * mat;
|
_effective_normal = _effective_normal * mat;
|
||||||
|
_effective_normal.normalize();
|
||||||
}
|
}
|
||||||
|
|
||||||
mark_viz_stale();
|
mark_viz_stale();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user