mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
motiontrail: Fix issue building with C++20
This commit is contained in:
parent
4b24ac86a5
commit
89a1c8bff7
@ -331,7 +331,7 @@ update_motion_trail (PN_stdfloat current_time, LMatrix4 *transform) {
|
|||||||
|
|
||||||
frame_iterator = _frame_list.begin ( );
|
frame_iterator = _frame_list.begin ( );
|
||||||
motion_trail_frame = *frame_iterator;
|
motion_trail_frame = *frame_iterator;
|
||||||
if (*transform == motion_trail_frame._transform) {
|
if (motion_trail_frame._transform == UnalignedLMatrix4(*transform)) {
|
||||||
// duplicate transform
|
// duplicate transform
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user