mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Fixed model with texture and texture-less objects having texture-less objects renderer 'black' due to having hasTexture incorrectly set for shader
This commit is contained in:
@@ -30,7 +30,7 @@ class IMICFPS
|
||||
end
|
||||
|
||||
# Try searching shared textures folder
|
||||
unless File.exist?(path)
|
||||
if path && !File.exist?(path)
|
||||
path = "#{IMICFPS.assets_path}/base/shared/textures/#{path.split("/").last}"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user