Fix unresolved types in graph wires when repeatedly undoing and redoing (#2283)

fix unresolved types when repeatedly undoing and redoing
This commit is contained in:
Adam Gerhant 2025-02-14 22:47:48 -08:00 committed by GitHub
parent 70b4beab49
commit 419a95e73b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1679,6 +1679,7 @@ impl DocumentMessageHandler {
// Set the previous network navigation metadata to the current navigation metadata
network_interface.copy_all_navigation_metadata(&self.network_interface);
std::mem::swap(&mut network_interface.resolved_types, &mut self.network_interface.resolved_types);
//Update the metadata transform based on document PTZ
let transform = self.navigation_handler.calculate_offset_transform(ipp.viewport_bounds.center(), &self.document_ptz);