mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-25 03:42:05 +00:00
Test linux1 (#93)
* change 'OrcaSlicer' to 'Snapmaker Orca' * Fix Orca Multi-Language * test_linux * test_linux * Fix default_position of wipetower * fix CICD * Change linux to beta
This commit is contained in:
@@ -63,7 +63,7 @@ static const int PARTPLATE_TEXT_OFFSET_Y = 1;
|
||||
static const int PARTPLATE_PLATENAME_OFFSET_Y = 10;
|
||||
|
||||
const float WIPE_TOWER_DEFAULT_X_POS = 13.;
|
||||
const float WIPE_TOWER_DEFAULT_Y_POS = 234.5; // Max y
|
||||
const float WIPE_TOWER_DEFAULT_Y_POS = 214.5; // Max y
|
||||
|
||||
const float I3_WIPE_TOWER_DEFAULT_X_POS = 0.;
|
||||
const float I3_WIPE_TOWER_DEFAULT_Y_POS = 250.; // Max y
|
||||
|
||||
@@ -1187,6 +1187,7 @@ wxWindow* PreferencesDialog::create_general_page()
|
||||
|
||||
// SM Beta: temporarily open the item_stealth_mode and close the network plugin
|
||||
|
||||
/*auto item_stealth_mode = create_item_checkbox(_L("Stealth mode"), page, _L("This stops the transmission of data to Bambu's cloud services. Users who don't use BBL machines or use LAN mode only can safely turn on this function."), 50, "stealth_mode");
|
||||
/*auto item_stealth_mode = create_item_checkbox(_L("Stealth mode"), page, _L("This stops the transmission of data to Bambu's cloud services. Users who don't use BBL machines or use LAN mode only can safely turn on this function."), 50, "stealth_mode");
|
||||
auto item_enable_plugin = create_item_checkbox(_L("Enable network plugin"), page, _L("Enable network plugin"), 50, "installed_networking");
|
||||
auto item_legacy_network_plugin = create_item_checkbox(_L("Use legacy network plugin (Takes effect after restarting Orca)"), page, _L("Disable to use latest network plugin that supports new BambuLab firmwares."), 50, "legacy_networking");
|
||||
|
||||
@@ -211,7 +211,7 @@ std::string NetworkAgent::get_libpath_in_current_directory(std::string library_n
|
||||
std::string file_name_string(size_needed, 0);
|
||||
::WideCharToMultiByte(0, 0, file_name, wcslen(file_name), file_name_string.data(), size_needed, nullptr, nullptr);
|
||||
|
||||
std::size_t found = file_name_string.find("orca-slicer.exe");
|
||||
std::size_t found = file_name_string.find("snapmaker-orca.exe");
|
||||
if (found == (file_name_string.size() - 16)) {
|
||||
lib_path = library_name + ".dll";
|
||||
lib_path = file_name_string.replace(found, 16, lib_path);
|
||||
|
||||
Reference in New Issue
Block a user