Ver código fonte

fixup! Make subgraphs searchable like a library

Leonardo Jeanteur 4 anos atrás
pai
commit
218126b362
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      bin/defaultProps.json
  2. 1 1
      hide/view/shadereditor/ShaderEditor.hx

+ 1 - 1
bin/defaultProps.json

@@ -145,7 +145,7 @@
 
 
 	"fx.tags": [ { "id": "tag", "color": "#802000" } ],
 	"fx.tags": [ { "id": "tag", "color": "#802000" } ],
 
 
-	"shadergraph.libfolders": ["Shaders"],
+	"shadergraph.libfolders": ["shaders", "shaders/subshaders"],
 
 
 	// DomKit css files list
 	// DomKit css files list
 	"domkit.css" : [],
 	"domkit.css" : [],

+ 1 - 1
hide/view/shadereditor/ShaderEditor.hx

@@ -337,7 +337,7 @@ class ShaderEditor extends hide.view.Graph {
 					listOfClasses[group].push({
 					listOfClasses[group].push({
 						name : fileName,
 						name : fileName,
 						// TODO: Add a the description to the hlshader file
 						// TODO: Add a the description to the hlshader file
-						description : 'Include $fileName as a subgraph',
+						description : "",
 						key : relPath,
 						key : relPath,
 					});
 					});
 				}
 				}