Skip to content

Commit c4bb712

Browse files
authored
PR realsenseai#15070 from Nir-Az: Default partial-device-allowed to true across SDK and viewer - for back compat IMU BMI 088 support
2 parents 9e6aa43 + c7284d3 commit c4bb712

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

common/viewer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3022,7 +3022,7 @@ namespace rs2
30223022
std::string excl_icon_str = rsutils::string::from() << textual_icons::exclamation_triangle
30233023
<< " The following changes will take effect only after restarting the application";
30243024
ImGui::Text( "%s", excl_icon_str.c_str() );
3025-
bool allow_partial_device = temp_cfg.get_nested< bool >( "context.partial-device-allowed", false );
3025+
bool allow_partial_device = temp_cfg.get_nested< bool >( "context.partial-device-allowed", true );
30263026
if( ImGui::Checkbox( "Allow partial device initialization", &allow_partial_device ) )
30273027
{
30283028
temp_cfg.set_nested( "context.partial-device-allowed", allow_partial_device );

src/dds/rsdds-device-factory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ rsdds_device_factory::rsdds_device_factory( std::shared_ptr< context > const & c
157157
<< domain_id << "; cannot create '" << participant_name << "'" );
158158
}
159159
size_t device_initialization_timeout = dds_settings.nested( "device-initialization-timeout-ms" ).default_value< size_t >( 5000 );
160-
bool partial_capabilities_allowed = ctx->get_settings().nested( "partial-device-allowed" ).default_value< bool >( false );
160+
bool partial_capabilities_allowed = ctx->get_settings().nested( "partial-device-allowed" ).default_value< bool >( true );
161161
_watcher_singleton = domain.device_watcher.instance( _participant, device_initialization_timeout, partial_capabilities_allowed );
162162
_subscription = _watcher_singleton->subscribe(
163163
[liveliness = std::weak_ptr< context >( ctx ),

src/ds/ds-private.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ namespace librealsense
122122
bool is_partial_device_allowed( const std::shared_ptr< context > & ctx )
123123
{
124124
auto settings = ctx->get_settings();
125-
return settings.nested( "partial-device-allowed" ).default_value< bool >( false );
125+
return settings.nested( "partial-device-allowed" ).default_value< bool >( true );
126126
}
127127
} // librealsense::ds
128128
} // namespace librealsense

0 commit comments

Comments
 (0)