Publish built-in document edits to V4 plugins

This commit is contained in:
Felix Riestra committed 2026-09-18 12:13:43 +02:00
1 parent 79028bcee4
commit 93afe91afc
4 files changed
+63 -1

No files matched your search

+5 -1
View File
@@ -92,7 +92,11 @@ impl<'a> HostSession<'a> {
}
}
#[cfg(not(target_arch = "wasm32"))]
v4_support::publish_document_view_v4(self.tab_id(), doc);
{
v4_support::publish_document_view_v4(self.tab_id(), doc);
self.app.last_plugin_document =
Some((self.tab_id(), self.app.tabs[self.tab].scene.geometry_epoch));
}
}
pub fn add_entity(&mut self, entity: EntityType) -> Handle {