We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2196811 commit 7eaef71Copy full SHA for 7eaef71
lua/pac3/editor/client/panels/properties.lua
@@ -1756,8 +1756,8 @@ do -- base editable
1756
local files = get_files_recursively(nil, path, {"vmt"})
1757
1758
for i,file in ipairs(files) do
1759
- mat_no_ext = string.sub(file,11,#file) --"materials/"
1760
- menu3:AddOption(string.StripExtension(file), function()
+ local mat_no_ext = string.StripExtension(string.sub(file,11,#file)) --"materials/"
+ menu3:AddOption(mat_no_ext, function()
1761
self:SetValue(mat_no_ext)
1762
if self.CurrentKey == "Material" then
1763
pace.current_part:SetMaterial(mat_no_ext)
0 commit comments