mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 20:56:41 +02:00
fix samplers from gltf not copying
This commit is contained in:
parent
97d8d27cd0
commit
58c4964e73
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,7 @@ Material::Material(const Material& material) :
|
|||
_materialParams(material._materialParams),
|
||||
_cullFaceMode(material._cullFaceMode),
|
||||
_textureMaps(material._textureMaps),
|
||||
_samplers(material._samplers),
|
||||
_defaultFallthrough(material._defaultFallthrough),
|
||||
_propertyFallthroughs(material._propertyFallthroughs)
|
||||
{
|
||||
|
@ -109,6 +110,7 @@ Material& Material::operator=(const Material& material) {
|
|||
_materialParams = material._materialParams;
|
||||
_cullFaceMode = material._cullFaceMode;
|
||||
_textureMaps = material._textureMaps;
|
||||
_samplers = material._samplers;
|
||||
|
||||
_defaultFallthrough = material._defaultFallthrough;
|
||||
_propertyFallthroughs = material._propertyFallthroughs;
|
||||
|
|
Loading…
Reference in a new issue