|
@@ -628,7 +628,7 @@ THREE.OBJLoader2 = (function () {
|
|
|
|
|
|
RawObject.prototype.pushSmoothingGroup = function ( activeSmoothingGroup ) {
|
|
|
var normalized = parseInt( activeSmoothingGroup );
|
|
|
- if ( normalized === NaN ) {
|
|
|
+ if ( isNaN( normalized ) ) {
|
|
|
normalized = activeSmoothingGroup === "off" ? 0 : 1;
|
|
|
}
|
|
|
if ( this.activeSmoothingGroup === normalized ) return;
|