Hello community,
here is the log from the commit of package uranium-lulzbot for openSUSE:Factory checked in at 2019-04-09 20:18:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uranium-lulzbot (Old)
and /work/SRC/openSUSE:Factory/.uranium-lulzbot.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "uranium-lulzbot"
Tue Apr 9 20:18:47 2019 rev:8 rq:692491 version:3.6.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/uranium-lulzbot/uranium-lulzbot.changes 2019-02-25 17:52:20.414721000 +0100
+++ /work/SRC/openSUSE:Factory/.uranium-lulzbot.new.3908/uranium-lulzbot.changes 2019-04-09 20:18:51.785856924 +0200
@@ -1,0 +2,6 @@
+Fri Apr 5 12:03:44 UTC 2019 - Adrian Schröter
+
+- update to version 3.6.5
+ * no changes except version
+
+-------------------------------------------------------------------
Old:
----
Uranium-3.6.4.obscpio
New:
----
Uranium-3.6.5.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ uranium-lulzbot.spec ++++++
--- /var/tmp/diff_new_pack.FI3wiA/_old 2019-04-09 20:18:52.489857883 +0200
+++ /var/tmp/diff_new_pack.FI3wiA/_new 2019-04-09 20:18:52.493857888 +0200
@@ -18,7 +18,7 @@
Name: uranium-lulzbot
Conflicts: uranium
-Version: 3.6.4
+Version: 3.6.5
Release: 0
Summary: 3D printer control software: python UI stack
License: AGPL-3.0-only
++++++ Uranium-3.6.4.obscpio -> Uranium-3.6.5.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Uranium-3.6.4/plugins/Tools/ScaleTool/ScaleTool.qml new/Uranium-3.6.5/plugins/Tools/ScaleTool/ScaleTool.qml
--- old/Uranium-3.6.4/plugins/Tools/ScaleTool/ScaleTool.qml 2018-12-05 21:12:55.000000000 +0100
+++ new/Uranium-3.6.5/plugins/Tools/ScaleTool/ScaleTool.qml 2019-03-14 10:42:56.000000000 +0100
@@ -3,15 +3,14 @@
import QtQuick 2.2
import QtQuick.Controls 1.2
-
+import QtQuick.Layouts 1.1
import UM 1.1 as UM
-Item
+ColumnLayout
{
id: base
- width: childrenRect.width * 1.05
- height: childrenRect.height
UM.I18nCatalog { id: catalog; name:"uranium"}
+ spacing: UM.Theme.getSize("default_margin").height
// We use properties for the text as doing the bindings indirectly doesn't cause any breaks
// Javascripts don't seem to play well with the bindings (and sometimes break em)
@@ -23,7 +22,8 @@
property string depthText
property string widthText
- function getPercentage(scale){
+ function getPercentage(scale)
+ {
return scale * 100;
}
@@ -49,13 +49,15 @@
function inc_dec(prop, event, unit)
{
- if (event.key == Qt.Key_Up) {
+ if (event.key == Qt.Key_Up)
+ {
var t = parseFloat(UM.ActiveTool.properties.getValue(prop)) + unit;
if(t <= 0){t=UM.ActiveTool.properties.getValue(prop)}
UM.ActiveTool.setProperty(prop, t);
event.accepted = true;
}
- if (event.key == Qt.Key_Down) {
+ if (event.key == Qt.Key_Down)
+ {
var t = parseFloat(UM.ActiveTool.properties.getValue(prop)) - unit;
if(t <= 0){t=UM.ActiveTool.properties.getValue(prop)}
UM.ActiveTool.setProperty(prop, t);
@@ -63,92 +65,10 @@
}
}
- Button
- {
- id: resetScaleButton
- anchors.top: textfields.bottom
- anchors.topMargin: UM.Theme.getSize("default_margin").height;
- anchors.left: textfields.left
- anchors.leftMargin: UM.Theme.getSize("default_margin").width;
- z: 2
-
- //: Reset scale tool button
- text: catalog.i18nc("@action:button","Reset")
- iconSource: UM.Theme.getIcon("scale_reset");
- property bool needBorder: true
-
- style: UM.Theme.styles.tool_button;
-
- onClicked: UM.ActiveTool.triggerAction("resetScale");
- }
-
- Button
- {
- id: scaleToMaxButton
-
- //: Scale to max tool button
- text: catalog.i18nc("@action:button","Scale to Max");
- iconSource: UM.Theme.getIcon("scale_max");
-
- anchors.top: resetScaleButton.top;
- anchors.left: resetScaleButton.right;
- anchors.leftMargin: UM.Theme.getSize("default_margin").width;
- z: 1
-
- style: UM.Theme.styles.tool_button;
- onClicked: UM.ActiveTool.triggerAction("scaleToMax")
- }
-
-
- Flow {
- id: checkboxes;
-
- anchors.left: scaleToMaxButton.right;
- anchors.leftMargin: UM.Theme.getSize("default_margin").width;
- anchors.right: parent.right;
- anchors.top: resetScaleButton.top;
-
- spacing: UM.Theme.getSize("default_margin").height;
-
- CheckBox
- {
- id: snapScalingCheckbox
-
- width: parent.width //Use a width instead of anchors to allow the flow layout to resolve positioning.
-
- text: catalog.i18nc("@option:check", "Snap Scaling")
-
- style: UM.Theme.styles.checkbox;
- checked: UM.ActiveTool.properties.getValue("ScaleSnap");
- onClicked: {
- UM.ActiveTool.setProperty("ScaleSnap", checked);
- if (snapScalingCheckbox.checked){
- UM.ActiveTool.setProperty("ScaleX", parseFloat(xPercentage.text) / 100);
- UM.ActiveTool.setProperty("ScaleY", parseFloat(yPercentage.text) / 100);
- UM.ActiveTool.setProperty("ScaleZ", parseFloat(zPercentage.text) / 100);
- }
- }
- }
-
- CheckBox
- {
- width: parent.width //Use a width instead of anchors to allow the flow layout to resolve positioning.
-
- text: catalog.i18nc("@option:check", "Uniform Scaling")
-
- style: UM.Theme.styles.checkbox;
-
- checked: !UM.ActiveTool.properties.getValue("NonUniformScale");
- onClicked: UM.ActiveTool.setProperty("NonUniformScale", !checked);
- }
- }
-
Grid
{
id: textfields;
- anchors.top: parent.top;
-
columns: 3;
flow: Grid.TopToBottom;
spacing: UM.Theme.getSize("default_margin").width / 2;
@@ -288,8 +208,6 @@
}
}
-
-
UM.TooltipArea
{
width: childrenRect.width;
@@ -448,4 +366,76 @@
value: base.roundFloat(100 * UM.ActiveTool.properties.getValue("ScaleZ"), 4)
}
}
+
+ RowLayout
+ {
+ spacing: UM.Theme.getSize("default_margin").width;
+
+ Button
+ {
+ id: resetScaleButton
+ z: 2
+
+ //: Reset scale tool button
+ text: catalog.i18nc("@action:button","Reset")
+ iconSource: UM.Theme.getIcon("scale_reset");
+ property bool needBorder: true
+
+ style: UM.Theme.styles.tool_button;
+
+ onClicked: UM.ActiveTool.triggerAction("resetScale");
+ }
+
+ Button
+ {
+ id: scaleToMaxButton
+
+ //: Scale to max tool button
+ text: catalog.i18nc("@action:button","Scale to Max");
+ iconSource: UM.Theme.getIcon("scale_max");
+ z: 1
+
+ style: UM.Theme.styles.tool_button;
+ onClicked: UM.ActiveTool.triggerAction("scaleToMax")
+ }
+
+
+ ColumnLayout
+ {
+ id: checkboxes;
+
+ spacing: UM.Theme.getSize("default_margin").height / 2;
+
+ CheckBox
+ {
+ id: snapScalingCheckbox
+
+ width: parent.width //Use a width instead of anchors to allow the flow layout to resolve positioning.
+ text: catalog.i18nc("@option:check", "Snap Scaling")
+ style: UM.Theme.styles.checkbox;
+ checked: UM.ActiveTool.properties.getValue("ScaleSnap");
+
+ onClicked: {
+ UM.ActiveTool.setProperty("ScaleSnap", checked);
+ if (snapScalingCheckbox.checked){
+ UM.ActiveTool.setProperty("ScaleX", parseFloat(xPercentage.text) / 100);
+ UM.ActiveTool.setProperty("ScaleY", parseFloat(yPercentage.text) / 100);
+ UM.ActiveTool.setProperty("ScaleZ", parseFloat(zPercentage.text) / 100);
+ }
+ }
+ }
+
+ CheckBox
+ {
+ width: parent.width //Use a width instead of anchors to allow the flow layout to resolve positioning.
+
+ text: catalog.i18nc("@option:check", "Uniform Scaling")
+
+ style: UM.Theme.styles.checkbox;
+
+ checked: !UM.ActiveTool.properties.getValue("NonUniformScale");
+ onClicked: UM.ActiveTool.setProperty("NonUniformScale", !checked);
+ }
+ }
+ }
}
++++++ Uranium.obsinfo ++++++
--- /var/tmp/diff_new_pack.FI3wiA/_old 2019-04-09 20:18:52.853858379 +0200
+++ /var/tmp/diff_new_pack.FI3wiA/_new 2019-04-09 20:18:52.853858379 +0200
@@ -1,5 +1,5 @@
name: Uranium
-version: 3.6.4
-mtime: 1544040775
-commit: bd6e9e4f33a2dc58a024817ae707718553b31411
+version: 3.6.5
+mtime: 1552556576
+commit: 9b696b1cdde1fccca06eb5e96f3e69e19ecd0904
++++++ _service ++++++
--- /var/tmp/diff_new_pack.FI3wiA/_old 2019-04-09 20:18:52.873858406 +0200
+++ /var/tmp/diff_new_pack.FI3wiA/_new 2019-04-09 20:18:52.873858406 +0200
@@ -3,8 +3,8 @@
<param name="url">https://code.alephobjects.com/diffusion/U/uranium.git</param>
<param name="scm">git</param>
<param name="filename">Uranium</param>
- <param name="revision">v3.6.4</param>
- <param name="version">3.6.4</param>
+ <param name="revision">v3.6.5</param>
+ <param name="version">3.6.5</param>
</service>
<service mode="disabled" name="set_version" />