mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Remove preference 'arrange models on load' since it was experimental and
now the arranger makes the job.
This commit is contained in:
parent
c5d48a3a9a
commit
c31d329657
2 changed files with 1 additions and 19 deletions
|
@ -513,7 +513,6 @@ class CuraApplication(QtApplication):
|
||||||
preferences.addPreference("cura/asked_dialog_on_project_save", False)
|
preferences.addPreference("cura/asked_dialog_on_project_save", False)
|
||||||
preferences.addPreference("cura/choice_on_profile_override", "always_ask")
|
preferences.addPreference("cura/choice_on_profile_override", "always_ask")
|
||||||
preferences.addPreference("cura/choice_on_open_project", "always_ask")
|
preferences.addPreference("cura/choice_on_open_project", "always_ask")
|
||||||
preferences.addPreference("cura/not_arrange_objects_on_load", False)
|
|
||||||
preferences.addPreference("cura/use_multi_build_plate", False)
|
preferences.addPreference("cura/use_multi_build_plate", False)
|
||||||
|
|
||||||
preferences.addPreference("cura/currency", "€")
|
preferences.addPreference("cura/currency", "€")
|
||||||
|
@ -1603,9 +1602,7 @@ class CuraApplication(QtApplication):
|
||||||
self._currently_loading_files.remove(filename)
|
self._currently_loading_files.remove(filename)
|
||||||
|
|
||||||
self.fileLoaded.emit(filename)
|
self.fileLoaded.emit(filename)
|
||||||
arrange_objects_on_load = (
|
arrange_objects_on_load = not self.getPreferences().getValue("cura/use_multi_build_plate")
|
||||||
not self.getPreferences().getValue("cura/use_multi_build_plate") or
|
|
||||||
not self.getPreferences().getValue("cura/not_arrange_objects_on_load"))
|
|
||||||
target_build_plate = self.getMultiBuildPlateModel().activeBuildPlate if arrange_objects_on_load else -1
|
target_build_plate = self.getMultiBuildPlateModel().activeBuildPlate if arrange_objects_on_load else -1
|
||||||
|
|
||||||
root = self.getController().getScene().getRoot()
|
root = self.getController().getScene().getRoot()
|
||||||
|
|
|
@ -741,21 +741,6 @@ UM.PreferencesPage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.TooltipArea
|
|
||||||
{
|
|
||||||
width: childrenRect.width
|
|
||||||
height: childrenRect.height
|
|
||||||
text: catalog.i18nc("@info:tooltip", "Should newly loaded models be arranged on the build plate? Used in conjunction with multi build plate (EXPERIMENTAL)")
|
|
||||||
|
|
||||||
CheckBox
|
|
||||||
{
|
|
||||||
id: arrangeOnLoadCheckbox
|
|
||||||
text: catalog.i18nc("@option:check", "Do not arrange objects on load")
|
|
||||||
checked: boolCheck(UM.Preferences.getValue("cura/not_arrange_objects_on_load"))
|
|
||||||
onCheckedChanged: UM.Preferences.setValue("cura/not_arrange_objects_on_load", checked)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Connections
|
Connections
|
||||||
{
|
{
|
||||||
target: UM.Preferences
|
target: UM.Preferences
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue