Validator: Skipping render pipeline check on shader, fi no RenderPipeline tag is found
Validator: Skipping textures in material, if marked as PerRendererData, HideInInspector or NonModifiableTextureData Validator: Fixed issue, where arrays weren't iterated correctly, which resulted in an exception Window: Added warning and error count
This commit is contained in:
parent
9dd45f536e
commit
eb46c22ffc
7 changed files with 93 additions and 12 deletions
|
|
@ -16,8 +16,6 @@
|
|||
-unity-font-style: bold;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.toolbar-button-settings {
|
||||
width: 24px;
|
||||
min-width: 24px;
|
||||
|
|
@ -30,3 +28,27 @@
|
|||
-unity-background-scale-mode: scale-to-fit;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.warning-icon {
|
||||
background-image: url("project://database/Packages/com.module.project-validator/Editor/Icons/editor_project_validator_warning.png?fileID=2800000&guid=5dce0f250980ffb459470fac33dfab59&type=3#editor_project_validator_warning");
|
||||
width: 16px;
|
||||
min-width: 16px;
|
||||
max-width: 16px;
|
||||
max-height: 16px;
|
||||
min-height: 16px;
|
||||
height: 16px;
|
||||
-unity-background-scale-mode: scale-to-fit;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.error-icon {
|
||||
background-image: url("project://database/Packages/com.module.project-validator/Editor/Icons/editor_project_validator_error.png?fileID=2800000&guid=7b6c61a2cf824b74c87cb49759531c79&type=3#editor_project_validator_error");
|
||||
width: 16px;
|
||||
min-width: 16px;
|
||||
max-width: 16px;
|
||||
max-height: 16px;
|
||||
min-height: 16px;
|
||||
height: 16px;
|
||||
-unity-background-scale-mode: scale-to-fit;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,16 @@
|
|||
<uie:Toolbar name="toolbar">
|
||||
<uie:ToolbarButton text="Run" name="button-run" style="margin-left: 2px;"/>
|
||||
<uie:ToolbarButton text="Clear" name="button-clear"/>
|
||||
<uie:ToolbarSpacer style="flex-grow: 1;"/>
|
||||
<uie:ToolbarSpacer name="spacing" style="flex-grow: 1;"/>
|
||||
<ui:VisualElement name="status-errors" style="flex-grow: 0; flex-direction: row; align-self: center; margin-left: 4px;">
|
||||
<ui:Label text="9999" name="label-errors" double-click-selects-word="false" triple-click-selects-line="false" display-tooltip-when-elided="false" style="flex-grow: 1; -unity-text-align: middle-center;"/>
|
||||
<ui:VisualElement name="icon" class="error-icon" style="flex-grow: 1;"/>
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="status-warnings" style="flex-grow: 0; flex-direction: row; align-self: center; margin-right: 4px;">
|
||||
<ui:Label text="9999" name="label-warnings" double-click-selects-word="false" triple-click-selects-line="false" display-tooltip-when-elided="false" style="flex-grow: 1; -unity-text-align: middle-center;"/>
|
||||
<ui:VisualElement name="icon" class="warning-icon" style="flex-grow: 1;"/>
|
||||
</ui:VisualElement>
|
||||
<uie:ToolbarSpacer name="spacing" style="flex-grow: 1;"/>
|
||||
<uie:ToolbarSearchField name="search-field"/>
|
||||
<uie:ToolbarButton text="" name="button-settings" class="toolbar-button-settings"/>
|
||||
</uie:Toolbar>
|
||||
|
|
@ -17,4 +26,5 @@
|
|||
</ui:Columns>
|
||||
<ui:SortColumnDescriptions/>
|
||||
</ui:MultiColumnTreeView>
|
||||
<ui:Image/>
|
||||
</ui:UXML>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue