Skip to content

Commit 9cea629

Browse files
committed
Fixed issue with Inspector list references in uxml files
1 parent 1fec12c commit 9cea629

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

Editor/Resources/MSS/MSSUIElements/EnablePropertyDrawer.uxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<ui:TextField picking-mode="Ignore" label="Name" binding-path="Name" />
33
<ui:TextField picking-mode="Ignore" label="Display Name" binding-path="DisplayName" />
44
<uie:IntegerField label="Enable Value" value="0" binding-path="EnableValue" />
5-
<VRLabs.ModularShaderSystem.InspectorList show-elements-text="false" binding-path="Attributes" />
5+
<VRLabs.ModularShaderSystem.UI.InspectorList show-elements-text="false" binding-path="Attributes" />
66
</ui:UXML>

Editor/Resources/MSS/MSSUIElements/FunctionPropertyDrawer.uxml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ui:TextField picking-mode="Ignore" label="Append After" binding-path="AppendAfter" />
44
<uie:IntegerField label="Queue" value="100" binding-path="Queue" />
55
<uie:PropertyField binding-path="ShaderFunctionCode" label="Function Code" focusable="true" />
6-
<VRLabs.ModularShaderSystem.InspectorList show-elements-text="false" binding-path="UsedVariables" />
7-
<VRLabs.ModularShaderSystem.InspectorList show-elements-text="false" binding-path="VariableKeywords" />
8-
<VRLabs.ModularShaderSystem.InspectorList show-elements-text="false" binding-path="CodeKeywords" />
6+
<VRLabs.ModularShaderSystem.UI.InspectorList show-elements-text="false" binding-path="UsedVariables" />
7+
<VRLabs.ModularShaderSystem.UI.InspectorList show-elements-text="false" binding-path="VariableKeywords" />
8+
<VRLabs.ModularShaderSystem.UI.InspectorList show-elements-text="false" binding-path="CodeKeywords" />
99
</ui:UXML>

Editor/Resources/MSS/MSSUIElements/ModularShaderEditor.uxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<uie:ObjectField label="Shader Template" binding-path="ShaderTemplate" name="ShaderTemplateField" allow-scene-objects="false" />
1010
<ui:TextField label="Shader Path" value="filler text" text="filler text" binding-path="ShaderPath" />
1111
<ui:TextField label="Custom Editor" binding-path="CustomEditor" />
12-
<VRLabs.ModularShaderSystem.InspectorList binding-path="Properties" show-elements-text="false" />
12+
<VRLabs.ModularShaderSystem.UI.InspectorList binding-path="Properties" show-elements-text="false" />
1313
<ui:Toggle binding-path="UseTemplatesForProperties" label="Properties from templates" name="UseTemplatesForPropertiesField" />
1414
<uie:ObjectField label="Shader Properties Template" binding-path="ShaderPropertiesTemplate" name="ShaderPropertiesTemplateField" allow-scene-objects="false" />
15-
<VRLabs.ModularShaderSystem.ModuleInspectorList name="BaseModulesField" binding-path="BaseModules" show-elements-text="false" />
15+
<VRLabs.ModularShaderSystem.UI.ModuleInspectorList name="BaseModulesField" binding-path="BaseModules" show-elements-text="false" />
1616
<ui:Button name="RegenerateShaderButton" text="Generate Shader"/>
1717
</ui:UXML>

Editor/Resources/MSS/MSSUIElements/ModuleTemplatePropertyDrawer.uxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<uie:PropertyField binding-path="Template" label="Template" focusable="true" />
33
<uie:PropertyField binding-path="Queue" label="Queue" focusable="true" />
44
<ui:Toggle binding-path="NeedsVariant" label="Generates variant" />
5-
<VRLabs.ModularShaderSystem.InspectorList show-elements-text="false" binding-path="Keywords" />
5+
<VRLabs.ModularShaderSystem.UI.InspectorList show-elements-text="false" binding-path="Keywords" />
66
</ui:UXML>

Editor/Resources/MSS/MSSUIElements/ShaderModuleEditor.uxml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<ui:TextField label="Author" binding-path="Author" />
66
<ui:TextField label="Version" binding-path="Version" />
77
<ui:TextField label="Description" binding-path="Description" multiline="true" />
8-
<VRLabs.ModularShaderSystem.InspectorList binding-path="ModuleDependencies" show-elements-text="false" />
9-
<VRLabs.ModularShaderSystem.InspectorList binding-path="IncompatibleWith" show-elements-text="false" />
8+
<VRLabs.ModularShaderSystem.UI.InspectorList binding-path="ModuleDependencies" show-elements-text="false" />
9+
<VRLabs.ModularShaderSystem.UI.InspectorList binding-path="IncompatibleWith" show-elements-text="false" />
1010

1111
<ui:Label text="Settings" style="margin-bottom: 4px; -unity-font-style: bold; margin-top: 20px;" />
1212
<uie:PropertyField binding-path="Enabled" label="Enable Property" focusable="true" />
13-
<VRLabs.ModularShaderSystem.InspectorList show-elements-text="false" binding-path="Properties" />
14-
<VRLabs.ModularShaderSystem.InspectorList show-elements-text="false" binding-path="Functions" />
15-
<VRLabs.ModularShaderSystem.InspectorList show-elements-text="false" binding-path="Templates" />
13+
<VRLabs.ModularShaderSystem.UI.InspectorList show-elements-text="false" binding-path="Properties" />
14+
<VRLabs.ModularShaderSystem.UI.InspectorList show-elements-text="false" binding-path="Functions" />
15+
<VRLabs.ModularShaderSystem.UI.InspectorList show-elements-text="false" binding-path="Templates" />
1616
</ui:UXML>

Editor/Resources/MSS/MSSUIElements/ShaderPropertyDrawer.uxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
<ui:VisualElement name="ValueContainer" />
66
<!--<ui:TextField label="Type" binding-path="Type" readonly="true" focusable="false" />
77
<ui:TextField label="Default Value" binding-path="DefaultValue" readonly="true" focusable="false" />-->
8-
<VRLabs.ModularShaderSystem.InspectorList show-elements-text="false" binding-path="Attributes" />
8+
<VRLabs.ModularShaderSystem.UI.InspectorList show-elements-text="false" binding-path="Attributes" />
99
</ui:UXML>

0 commit comments

Comments
 (0)