mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Comment out all things that use settings related things so we can at least start
This commit is contained in:
parent
c696525317
commit
44246c0676
5 changed files with 16 additions and 16 deletions
|
@ -101,8 +101,8 @@ class CuraApplication(QtApplication):
|
||||||
self._camera_animation = None
|
self._camera_animation = None
|
||||||
self._cura_actions = None
|
self._cura_actions = None
|
||||||
|
|
||||||
self.getMachineManager().activeMachineInstanceChanged.connect(self._onActiveMachineChanged)
|
#self.getMachineManager().activeMachineInstanceChanged.connect(self._onActiveMachineChanged)
|
||||||
self.getMachineManager().addMachineRequested.connect(self._onAddMachineRequested)
|
#self.getMachineManager().addMachineRequested.connect(self._onAddMachineRequested)
|
||||||
self.getController().getScene().sceneChanged.connect(self.updatePlatformActivity)
|
self.getController().getScene().sceneChanged.connect(self.updatePlatformActivity)
|
||||||
self.getController().toolOperationStopped.connect(self._onToolOperationStopped)
|
self.getController().toolOperationStopped.connect(self._onToolOperationStopped)
|
||||||
|
|
||||||
|
@ -175,9 +175,9 @@ class CuraApplication(QtApplication):
|
||||||
Selection.selectionChanged.connect(self.onSelectionChanged)
|
Selection.selectionChanged.connect(self.onSelectionChanged)
|
||||||
|
|
||||||
root = controller.getScene().getRoot()
|
root = controller.getScene().getRoot()
|
||||||
self._platform = Platform(root)
|
#self._platform = Platform(root)
|
||||||
|
|
||||||
self._volume = BuildVolume.BuildVolume(root)
|
#self._volume = BuildVolume.BuildVolume(root)
|
||||||
|
|
||||||
self.getRenderer().setBackgroundColor(QColor(245, 245, 245))
|
self.getRenderer().setBackgroundColor(QColor(245, 245, 245))
|
||||||
|
|
||||||
|
|
|
@ -52,11 +52,11 @@ class CuraEngineBackend(Backend):
|
||||||
|
|
||||||
# When there are current settings and machine instance is changed, there is no profile changed event. We should
|
# When there are current settings and machine instance is changed, there is no profile changed event. We should
|
||||||
# pretend there is though.
|
# pretend there is though.
|
||||||
Application.getInstance().getMachineManager().activeMachineInstanceChanged.connect(self._onActiveProfileChanged)
|
#Application.getInstance().getMachineManager().activeMachineInstanceChanged.connect(self._onActiveProfileChanged)
|
||||||
|
|
||||||
self._profile = None
|
#self._profile = None
|
||||||
Application.getInstance().getMachineManager().activeProfileChanged.connect(self._onActiveProfileChanged)
|
#Application.getInstance().getMachineManager().activeProfileChanged.connect(self._onActiveProfileChanged)
|
||||||
self._onActiveProfileChanged()
|
#self._onActiveProfileChanged()
|
||||||
|
|
||||||
self._change_timer = QTimer()
|
self._change_timer = QTimer()
|
||||||
self._change_timer.setInterval(500)
|
self._change_timer.setInterval(500)
|
||||||
|
@ -84,7 +84,7 @@ class CuraEngineBackend(Backend):
|
||||||
Application.getInstance().getController().toolOperationStarted.connect(self._onToolOperationStarted)
|
Application.getInstance().getController().toolOperationStarted.connect(self._onToolOperationStarted)
|
||||||
Application.getInstance().getController().toolOperationStopped.connect(self._onToolOperationStopped)
|
Application.getInstance().getController().toolOperationStopped.connect(self._onToolOperationStopped)
|
||||||
|
|
||||||
Application.getInstance().getMachineManager().activeMachineInstanceChanged.connect(self._onInstanceChanged)
|
#Application.getInstance().getMachineManager().activeMachineInstanceChanged.connect(self._onInstanceChanged)
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
# Terminate CuraEngine if it is still running at this point
|
# Terminate CuraEngine if it is still running at this point
|
||||||
|
|
|
@ -168,7 +168,7 @@ UM.MainWindow
|
||||||
|
|
||||||
Instantiator
|
Instantiator
|
||||||
{
|
{
|
||||||
model: UM.MachineInstancesModel { }
|
// model: UM.MachineInstancesModel { }
|
||||||
MenuItem
|
MenuItem
|
||||||
{
|
{
|
||||||
text: model.name;
|
text: model.name;
|
||||||
|
@ -187,7 +187,7 @@ UM.MainWindow
|
||||||
|
|
||||||
Instantiator
|
Instantiator
|
||||||
{
|
{
|
||||||
model: UM.MachineVariantsModel { }
|
// model: UM.MachineVariantsModel { }
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: model.name;
|
text: model.name;
|
||||||
checkable: true;
|
checkable: true;
|
||||||
|
@ -215,7 +215,7 @@ UM.MainWindow
|
||||||
Instantiator
|
Instantiator
|
||||||
{
|
{
|
||||||
id: profileMenuInstantiator
|
id: profileMenuInstantiator
|
||||||
model: UM.ProfilesModel {}
|
// model: UM.ProfilesModel {}
|
||||||
property int separatorIndex: -1
|
property int separatorIndex: -1
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
|
|
|
@ -56,7 +56,7 @@ Item{
|
||||||
Instantiator
|
Instantiator
|
||||||
{
|
{
|
||||||
id: profileSelectionInstantiator
|
id: profileSelectionInstantiator
|
||||||
model: UM.ProfilesModel {}
|
// model: UM.ProfilesModel {}
|
||||||
property int separatorIndex: -1
|
property int separatorIndex: -1
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
|
|
|
@ -71,7 +71,7 @@ Item
|
||||||
id: machineSelectionMenu
|
id: machineSelectionMenu
|
||||||
Instantiator
|
Instantiator
|
||||||
{
|
{
|
||||||
model: UM.MachineInstancesModel { }
|
// model: UM.MachineInstancesModel { }
|
||||||
MenuItem
|
MenuItem
|
||||||
{
|
{
|
||||||
text: model.name;
|
text: model.name;
|
||||||
|
@ -139,7 +139,7 @@ Item
|
||||||
Instantiator
|
Instantiator
|
||||||
{
|
{
|
||||||
id: variantSelectionInstantiator
|
id: variantSelectionInstantiator
|
||||||
model: UM.MachineVariantsModel { id: variantsModel }
|
// model: UM.MachineVariantsModel { id: variantsModel }
|
||||||
MenuItem
|
MenuItem
|
||||||
{
|
{
|
||||||
text: model.name;
|
text: model.name;
|
||||||
|
@ -183,7 +183,7 @@ Item
|
||||||
Instantiator
|
Instantiator
|
||||||
{
|
{
|
||||||
id: materialSelectionInstantiator
|
id: materialSelectionInstantiator
|
||||||
model: UM.MachineMaterialsModel { id: machineMaterialsModel }
|
// model: UM.MachineMaterialsModel { id: machineMaterialsModel }
|
||||||
MenuItem
|
MenuItem
|
||||||
{
|
{
|
||||||
text: model.name;
|
text: model.name;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue