chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c57f0e2
)
Reset the rotation/scaling matrix and plugins on file drop.
author
daid303
<daid303@gmail.com>
Fri, 8 Mar 2013 09:07:54 +0000
(10:07 +0100)
committer
daid303
<daid303@gmail.com>
Fri, 8 Mar 2013 09:07:54 +0000
(10:07 +0100)
Cura/gui/mainWindow.py
patch
|
blob
|
history
diff --git
a/Cura/gui/mainWindow.py
b/Cura/gui/mainWindow.py
index 0af0d6931892b4e30d2a9e01417a4458b9f399c9..29c9e0c39ac7fb4e99411e552fce61e65f087d24 100644
(file)
--- a/
Cura/gui/mainWindow.py
+++ b/
Cura/gui/mainWindow.py
@@
-298,6
+298,9
@@
class mainWindow(wx.Frame):
self.addToModelMRU(self.filelist[idx])
def OnDropFiles(self, files):
+ profile.putProfileSetting('model_matrix', '1,0,0,0,1,0,0,0,1')
+ profile.setPluginConfig([])
+ self.updateProfileToControls()
self._loadModels(files)
def OnLoadModel(self, e):