Skip to content

Commit

Permalink
Merge pull request #7687 from AnalyticalGraphicsInc/fix-7684
Browse files Browse the repository at this point in the history
Fix Model specularEnvironmentMaps bug
  • Loading branch information
lilleyse authored Mar 29, 2019
2 parents f8604e9 + 3c53051 commit 3df6322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Scene/Model.js
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ define([
return this._specularEnvironmentMaps;
},
set : function(value) {
this._shouldUpdateSpecularMapAtlas = value !== this._specularEnvironmentMaps;
this._shouldUpdateSpecularMapAtlas = this._shouldUpdateSpecularMapAtlas || value !== this._specularEnvironmentMaps;
this._specularEnvironmentMaps = value;
}
}
Expand Down

0 comments on commit 3df6322

Please sign in to comment.