فهرست منبع

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


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است