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:
parent
70b4beab49
commit
419a95e73b
|
|
@ -1679,6 +1679,7 @@ impl DocumentMessageHandler {
|
||||||
|
|
||||||
// Set the previous network navigation metadata to the current navigation metadata
|
// Set the previous network navigation metadata to the current navigation metadata
|
||||||
network_interface.copy_all_navigation_metadata(&self.network_interface);
|
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
|
//Update the metadata transform based on document PTZ
|
||||||
let transform = self.navigation_handler.calculate_offset_transform(ipp.viewport_bounds.center(), &self.document_ptz);
|
let transform = self.navigation_handler.calculate_offset_transform(ipp.viewport_bounds.center(), &self.document_ptz);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue