mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 03:58:11 +08:00
Fix viewport navigation performance by caching graph compilations (#1477)
Only recompile the graph and update thumbnails if the graph has actually changed. (Future work: only send just the thumbnails that actually changed instead of resending all of them.) * Cache graph compilations * Only update thumbnails if the graph has changed * Remove debug statement and fix warnings
This commit is contained in:
@@ -1099,7 +1099,6 @@ impl DocumentMessageHandler {
|
||||
let mut space = 0;
|
||||
for layer_node in folder.children(self.metadata()) {
|
||||
data.push(layer_node.to_node());
|
||||
info!("Pushed child");
|
||||
space += 1;
|
||||
if layer_node.has_children(self.metadata()) {
|
||||
path.push(layer_node.to_node());
|
||||
|
||||
Reference in New Issue
Block a user