ID 383496 - Trailing slash on the selectedMaterialTreeRootLocations parameter in LookFileBake nodes is not ignored

Follow

Problem summary

Trailing slash on the selectedMaterialTreeRootLocations scene graph path parameter causes the unassigned materials to not be included in the look file .klf on LookFileBake nodes. For example, "/root/materials/".


Customer reported version
katana.3.0v7


Customer reported platform
centos7


Steps to reproduce


1) Open the attached "alwaysIncludeSelectedMaterialTrees_V3.katana" Katana project.


2) Write both look files on the LookFileBake nodes.

Notice the LookFileBake_Include_Trailing node contains a trailing slash in the selectedMaterialTreeRootLocations scene graph path.


3) View the LookFileMaterialsIn_Include node.

Notice in the Scene Graph tab that both assigned and unassigned materials are present.


4) View the LookFileMaterialIn_Include_Trailing node.

Notice in the Scene Graph tab that the unassigned material is missing.


Workaround
Remove the trailing slash in selectedMaterialTreeRootLocations parameter on LookFileBake nodes.


Reproduced by support
This bug has been reproduced in:

Katana 3.1v2 - CentOs 7, Windows 10

Katana 3.0v7 - CentOs 7, Windows 10

Katana 3.0v1 - CentOs 7, Windows 10

Katana 2.6v1 - CentOs 7, Windows 10

Katana 2.5v1 - CentOs 7, Windwos 10

Katana 2.1v1 - CentOs 7

Katana 2.0v1 - CentOs 7

Katana 1.6v3 - CentOs 7


Earliest version tested
Katana 1.6v3 - This issue appears to be in all versions of the product


Expected behaviour
The materials should be included despite having a trailing slash at the end of the selectedMaterialTreeRootLocations parameter on LookFileBake nodes. 


Actual behaviour
The materials are not included when there is a trailing slash at the end of the selectedMaterialTreeRootLocations parameter on LookFileBake nodes. 


    We're sorry to hear that

    Please tell us why