Explorar o código

Docs: Fix redirect for geometry generators. (#22153)

Michael Herzog %!s(int64=4) %!d(string=hai) anos
pai
achega
0e04127bff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/index.html

+ 1 - 1
docs/index.html

@@ -68,7 +68,7 @@
 
 			// *BufferGeometry to *Geometry
 
-			if ( /([\w]+)BufferGeometry$/.exec( window.location.hash ) ) {
+			if ( /^(?!.*(Instanced)).*BufferGeometry/.exec( window.location.hash ) ) {
 
 				window.location.hash = window.location.hash.replace( 'BufferGeometry', 'Geometry' );