Browse Source

Playground: Fix examples (#25732)

* NodeEditorLib: Fix nodeClass prototype.

* Playground: Fix examples invert() -> oneMinus()
sunag 2 years ago
parent
commit
3038140a13

+ 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 ) {
 	if ( nodeClass !== undefined ) {
 
 

File diff suppressed because it is too large
+ 0 - 0
playground/examples/universal/fresnel.json


File diff suppressed because it is too large
+ 0 - 0
playground/examples/webgl/car.json


Some files were not shown because too many files changed in this diff