Skip to content

Commit 7c7cf6a

Browse files
authored
Fix: Patch blueprint id when forced_application_id is set (#11230)
1 parent 5696212 commit 7c7cf6a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

crates/store/re_data_loader/src/loader_rrd.rs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,17 @@ fn decode_and_stream<R: std::io::Read>(
204204
}
205205

206206
re_log_types::LogMsg::BlueprintActivationCommand(blueprint_activation_command) => {
207-
re_log_types::LogMsg::BlueprintActivationCommand(blueprint_activation_command)
207+
let mut blueprint_id = blueprint_activation_command.blueprint_id.clone();
208+
if let Some(forced_application_id) = forced_application_id {
209+
blueprint_id =
210+
blueprint_id.with_application_id(forced_application_id.clone());
211+
}
212+
re_log_types::LogMsg::BlueprintActivationCommand(
213+
re_log_types::BlueprintActivationCommand {
214+
blueprint_id,
215+
..blueprint_activation_command
216+
},
217+
)
208218
}
209219
}
210220
} else {

0 commit comments

Comments
 (0)