fix move cmd order (#462)

This commit is contained in:
Kurt Hutten
2023-09-13 17:42:42 +10:00
committed by GitHub
parent a17ede50bd
commit a2a4daebe3
3 changed files with 17 additions and 17 deletions

View File

@ -770,7 +770,8 @@ export class EngineCommandManager {
if (command.type !== 'modeling_cmd_req') return Promise.resolve()
const cmd = command.cmd
if (
cmd.type === 'camera_drag_move' &&
(cmd.type === 'camera_drag_move' ||
cmd.type === 'handle_mouse_drag_move') &&
this.engineConnection?.unreliableDataChannel
) {
cmd.sequence = this.outSequence