|
|
@@ -832,6 +832,7 @@ class Material extends EventDispatcher {
|
|
|
if ( this.alphaToCoverage === true ) data.alphaToCoverage = true;
|
|
|
if ( this.premultipliedAlpha === true ) data.premultipliedAlpha = true;
|
|
|
if ( this.forceSinglePass === true ) data.forceSinglePass = true;
|
|
|
+ if ( this.allowOverride === false ) data.allowOverride = false;
|
|
|
|
|
|
if ( this.wireframe === true ) data.wireframe = true;
|
|
|
if ( this.wireframeLinewidth > 1 ) data.wireframeLinewidth = this.wireframeLinewidth;
|
|
|
@@ -967,6 +968,7 @@ class Material extends EventDispatcher {
|
|
|
this.alphaToCoverage = source.alphaToCoverage;
|
|
|
this.premultipliedAlpha = source.premultipliedAlpha;
|
|
|
this.forceSinglePass = source.forceSinglePass;
|
|
|
+ this.allowOverride = source.allowOverride;
|
|
|
|
|
|
this.visible = source.visible;
|
|
|
|