mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
maybe resetting reinit_prediction would help?
This commit is contained in:
parent
913ae94c66
commit
21fa9cbae5
@ -406,8 +406,10 @@ inline static void predict_linear(void) {
|
|||||||
static float A_time, B_time;
|
static float A_time, B_time;
|
||||||
static float time = 0.;
|
static float time = 0.;
|
||||||
|
|
||||||
if (reinit_prediction)
|
if (reinit_prediction) {
|
||||||
state = 0;
|
state = 0;
|
||||||
|
reinit_prediction = false;
|
||||||
|
}
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case 0:
|
case 0:
|
||||||
if (new_telemetry) {
|
if (new_telemetry) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user