Fixed last commit
Thanks to Raakz for his patience Former-commit-id: 4b423f3d271fcbdc3e33937e8170843681a3b096
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include <Nazara/Graphics/AbstractRenderQueue.hpp>
|
||||
#include <Nazara/Graphics/Camera.hpp>
|
||||
#include <Nazara/Graphics/Config.hpp>
|
||||
#include <Nazara/Renderer/UberShaderLibrary.hpp>
|
||||
#include <Nazara/Utility/SkeletalMesh.hpp>
|
||||
#include <Nazara/Utility/StaticMesh.hpp>
|
||||
#include <memory>
|
||||
@@ -25,9 +24,6 @@ bool NzModelParameters::IsValid() const
|
||||
if (loadMaterials && !material.IsValid())
|
||||
return false;
|
||||
|
||||
if (!NzUberShaderLibrary::Has(shaderName))
|
||||
return false;
|
||||
|
||||
return mesh.IsValid();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user