diff --git a/main/src/infrastructure/proto/ext.rs b/main/src/infrastructure/proto/ext.rs index e467e2cd6..fb8eddf4f 100644 --- a/main/src/infrastructure/proto/ext.rs +++ b/main/src/infrastructure/proto/ext.rs @@ -254,13 +254,11 @@ impl HelgoboxInstances { FxChainContext::Track { track, is_input_fx } => { let project = track.project(); let project_location = ProjectLocation { - path: project.file().map(|f| f.to_string()), index: project.index().ok()?, }; let track_location = TrackLocation { project: Some(project_location), id: track.guid().to_string_without_braces(), - index: track.index()?, }; fx_chain_location::Location::TrackFx(TrackFxChainLocation { track: Some(track_location), @@ -276,7 +274,6 @@ impl HelgoboxInstances { let fx_location = FxLocation { fx_chain: Some(fx_chain_location), id: fx.get_or_query_guid().ok()?.to_string_without_braces(), - index: fx.index(), }; let helgobox_instance = HelgoboxInstance { data: Some(data), diff --git a/main/src/infrastructure/proto/generated.rs b/main/src/infrastructure/proto/generated.rs index aadc2f909..6c2781e95 100644 --- a/main/src/infrastructure/proto/generated.rs +++ b/main/src/infrastructure/proto/generated.rs @@ -1578,9 +1578,6 @@ pub struct FxLocation { /// Unique ID of the FX. #[prost(string, tag = "2")] pub id: ::prost::alloc::string::String, - /// Index of the FX within the containing FX chain. - #[prost(uint32, tag = "3")] - pub index: u32, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -1618,18 +1615,12 @@ pub struct TrackLocation { /// Unique ID of the track. #[prost(string, tag = "2")] pub id: ::prost::alloc::string::String, - /// Index of the track within the containing project. - #[prost(uint32, tag = "3")] - pub index: u32, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProjectLocation { - /// Project path, if already saved. - #[prost(string, optional, tag = "1")] - pub path: ::core::option::Option<::prost::alloc::string::String>, /// Index within the currently open project tabs. - #[prost(uint32, tag = "2")] + #[prost(uint32, tag = "1")] pub index: u32, } #[allow(clippy::derive_partial_eq_without_eq)]