chiark / gitweb /
Switched flip y and z images, removed comments
authorFerdi van der Werf <efcm@vdwerf.eu>
Thu, 12 Apr 2012 20:25:09 +0000 (22:25 +0200)
committerFerdi van der Werf <efcm@vdwerf.eu>
Thu, 12 Apr 2012 20:25:09 +0000 (22:25 +0200)
Cura/gui/preview3d.py
Cura/images/object-flip-y.png
Cura/images/object-flip-z.png

index 2091573c9bb994fbd1facf69bbfdfb2a186244ad..fa7d5d12399d85b291d8988c4cd16a60a30fff6f 100644 (file)
@@ -91,10 +91,6 @@ class previewPanel(wx.Panel):
 \r
                self.toolbar2.AddSeparator()\r
 \r
-               #self.swapXZ = wx.CheckBox(self.toolbar2, -1, "XZ")\r
-               #self.swapXZ.SetValue(profile.getProfileSetting('swap_xz') == 'True')\r
-               #self.toolbar2.AddControl(self.swapXZ)\r
-               #self.Bind(wx.EVT_CHECKBOX, self.OnSwapXZClick, self.swapXZ)\r
                self.swapXZ = buttons.GenBitmapToggleButton(self.toolbar2, -1, wx.Bitmap('Cura/images/object-swap-xz.png'), size=(20,20))\r
                self.swapXZ.SetBezelWidth(1)\r
                self.swapXZ.SetUseFocusIndicator(False)\r
@@ -110,11 +106,6 @@ class previewPanel(wx.Panel):
                self.swapYZ.SetValue(profile.getProfileSetting('swap_yz') == 'True')\r
                self.toolbar2.AddControl(self.swapYZ)\r
                self.Bind(wx.EVT_BUTTON, self.OnSwapYZClick, self.swapYZ)\r
-\r
-               #self.swapYZ = wx.CheckBox(self.toolbar2, -1, "YZ")\r
-               #self.swapYZ.SetValue(profile.getProfileSetting('swap_yz') == 'True')\r
-               #self.toolbar2.AddControl(self.swapYZ)\r
-               #self.Bind(wx.EVT_CHECKBOX, self.OnSwapYZClick, self.swapYZ)\r
                \r
                self.toolbar2.InsertSeparator(self.toolbar2.GetToolsCount())\r
                self.toolbar2.AddControl(wx.StaticText(self.toolbar2, -1, 'Scale'))\r
index e0a0ab2f069d204323fdce78ae0ee7d89616ffe0..267251aa15965eaaa4d3cd764686d98330badd02 100644 (file)
Binary files a/Cura/images/object-flip-y.png and b/Cura/images/object-flip-y.png differ
index 267251aa15965eaaa4d3cd764686d98330badd02..e0a0ab2f069d204323fdce78ae0ee7d89616ffe0 100644 (file)
Binary files a/Cura/images/object-flip-z.png and b/Cura/images/object-flip-z.png differ