소스 검색

Playground: Fix examples (#25732)

* NodeEditorLib: Fix nodeClass prototype.

* Playground: Fix examples invert() -> oneMinus()
sunag 2 년 전
부모
커밋
3038140a13
3개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      playground/NodeEditorLib.js
  2. 0 0
      playground/examples/universal/fresnel.json
  3. 0 0
      playground/examples/webgl/car.json

+ 1 - 1
playground/NodeEditorLib.js

@@ -117,7 +117,7 @@ export const getNodeEditorClass = async ( nodeData ) => {
 
 	//
 
-	let nodeClass = ClassLib[ editorClass ];
+	let nodeClass = nodeData.nodeClass || ClassLib[ editorClass ];
 
 	if ( nodeClass !== undefined ) {
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
playground/examples/universal/fresnel.json


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
playground/examples/webgl/car.json


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.