Browse Source

solves issue #12010

Atrahasis 7 years ago
parent
commit
e58dfc0500
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/postprocessing/OutlinePass.js

+ 1 - 1
examples/js/postprocessing/OutlinePass.js

@@ -186,7 +186,7 @@ THREE.OutlinePass.prototype = Object.assign( Object.create( THREE.Pass.prototype
 
 		function VisibilityChangeCallBack( object ) {
 
-			if ( object instanceof THREE.Mesh ) {
+			if ( object instanceof THREE.Mesh || object instanceof THREE.Line || object instanceof THREE.Sprite ) {
 
 				var bFound = false;