File tree Expand file tree Collapse file tree
Editor/Scripts/ShaderGraph/InternalShaderGraph Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -285,7 +285,10 @@ private void DrawGameObjectInfo(Material targetMaterial)
285285 EditorGUILayout . Toggle ( "Has Vertex Colors" , currentMaterialInfo . hasColor ) ;
286286 EditorGUI . EndDisabledGroup ( ) ;
287287
288- if ( currentMaterialInfo . hasColor != targetMaterial . IsKeywordEnabled ( "_VERTEX_COLORS_ON" ) )
288+ /*
289+ > _VERTEX_COLORS_ON is currently not used in the shader, so we can't really check for it
290+
291+ if (currentMaterialInfo.hasColor != targetMaterial.IsKeywordEnabled("_VERTEX_COLORS_ON"))
289292 {
290293 EditorGUI.indentLevel++;
291294 var msg = "";
@@ -318,7 +321,7 @@ private void DrawGameObjectInfo(Material targetMaterial)
318321 });
319322 }
320323 EditorGUI.indentLevel--;
321- }
324+ }*/
322325
323326 EditorGUI . BeginDisabledGroup ( true ) ;
324327 EditorGUILayout . Toggle ( "Has UV0" , currentMaterialInfo . hasUV0 ) ;
You can’t perform that action at this time.
0 commit comments