浏览代码

Moved the .materialtype version number to the new correct position.

Signed-off-by: santorac <[email protected]>
santorac 3 年之前
父节点
当前提交
426f4e5d63

+ 1 - 1
Shaders/ComprehensiveTestMaterial/Comprehensive.materialtype

@@ -1,7 +1,7 @@
 {
 {
     "description": "This material tests as many material system features as possible in one place. It splits an object into several stacks of slices, with each stack oscillating independently. This is achieved by rendering a separate pass for each stack, demonstrating multi-pass rendering. The stacks/passes can be disabled independently, demonstrating the ShaderCollectionFunctor feature. There is also a light source, which can be moved using angle values, and these values are converted to a direction vector before being sent to the shader, which demonstrates the use of a ShaderInputFunctor.",
     "description": "This material tests as many material system features as possible in one place. It splits an object into several stacks of slices, with each stack oscillating independently. This is achieved by rendering a separate pass for each stack, demonstrating multi-pass rendering. The stacks/passes can be disabled independently, demonstrating the ShaderCollectionFunctor feature. There is also a light source, which can be moved using angle values, and these values are converted to a direction vector before being sent to the shader, which demonstrates the use of a ShaderInputFunctor.",
+    "version": 1,
     "propertyLayout": {
     "propertyLayout": {
-        "version": 1,
         "groups": [
         "groups": [
             {
             {
                 "id": "stacks",
                 "id": "stacks",

+ 1 - 1
Shaders/MaterialEditorTest.materialtype

@@ -1,7 +1,7 @@
 {
 {
     "description": "Just collects some dummy fields for testing the material editor.",
     "description": "Just collects some dummy fields for testing the material editor.",
+    "version": 1,
     "propertyLayout": {
     "propertyLayout": {
-        "version": 1,
         "groups": [
         "groups": [
             {
             {
                 "id": "normal",
                 "id": "normal",