mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Add animated GIF file export to Graphene CLI (#3846)
* Add gif file export via graphene cli * Add check for negative fps numbers
This commit is contained in:
@@ -10,9 +10,7 @@ use interpreted_executor::util::wrap_network_in_scope;
|
||||
pub fn setup_network(name: &str) -> (DynamicExecutor, ProtoNetwork) {
|
||||
let mut network = load_from_name(name);
|
||||
let editor_api = std::sync::Arc::new(EditorApi::default());
|
||||
println!("generating substitutions");
|
||||
let substitutions = preprocessor::generate_node_substitutions();
|
||||
println!("expanding network");
|
||||
preprocessor::expand_network(&mut network, &substitutions);
|
||||
let network = wrap_network_in_scope(network, editor_api);
|
||||
let proto_network = compile(network);
|
||||
|
||||
Reference in New Issue
Block a user