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:
57b06ca
)
Fix problem when entering size without an object selected.
author
daid303
<daid303@gmail.com>
Mon, 8 Apr 2013 13:24:57 +0000
(15:24 +0200)
committer
daid303
<daid303@gmail.com>
Mon, 8 Apr 2013 13:24:57 +0000
(15:24 +0200)
Cura/gui/sceneView.py
patch
|
blob
|
history
diff --git
a/Cura/gui/sceneView.py
b/Cura/gui/sceneView.py
index 7a1fc5bfc3908418eae4261e002de3535b89da43..5ba9e9b465a1b5f1875018c70e73687ac2918ea3 100644
(file)
--- a/
Cura/gui/sceneView.py
+++ b/
Cura/gui/sceneView.py
@@
-227,6
+227,8
@@
class SceneView(openglGui.glGuiPanel):
self.sceneUpdated()
def OnScaleEntryMM(self, value, axis):
+ if self._selectedObj is None:
+ return
try:
value = float(value)
except: