Browse Source

Merge branch 'UI-NaN-patch' of https://github.com/gwindes/three.js into dev

Mr.doob 11 years ago
parent
commit
d5542e23b2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      editor/js/libs/ui.js

+ 4 - 0
editor/js/libs/ui.js

@@ -648,6 +648,10 @@ UI.Number = function ( number ) {
 
 			dom.value = number;
 
+		} else {
+
+			dom.value = '0.00';
+
 		}
 
 	};