Use underscore separator like in Maya settings maya_dirmap.

Only other integration I can see that has dirmapping is Nuke, which uses just `dirmap` without host prefix - which I suppose would then be broken regardless.
It may make more sense to remove the `host` specific prefix from the label because it's already looking in host specific settings anyway.
This commit is contained in:
Roy Nieterau 2024-12-16 22:56:27 +01:00
parent bdbe9acbfd
commit ea292add98

View file

@ -118,7 +118,7 @@ class HostDirmap(ABC):
site, in that case configuration in Local Settings takes precedence
"""
dirmap_label = "{}-dirmap".format(self.host_name)
dirmap_label = "{}_dirmap".format(self.host_name)
mapping_sett = self.project_settings[self.host_name].get(dirmap_label,
{})
local_mapping = self._get_local_sync_dirmap()