repo: janusweb action: commit revision: path_from: revision_from: 67c0353045b12debd9cbd66b8db80f3bc52a3d84: path_to: revision_to:
commit 67c0353045b12debd9cbd66b8db80f3bc52a3d84 Author: James BaicoianuDate: Mon Jul 13 11:35:12 2020 -0700 Apply renderorder to child objects as they load diff --git a/scripts/object.js b/scripts/object.js
--- a/scripts/object.js
+++ b/scripts/object.js
@@ -552,6 +552,7 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() {
this.traverseObjects(elation.bind(this, function(n) {
n.receiveShadow = this.shadow && this.shadow_receive;
n.castShadow = this.shadow && this.shadow_cast;
+ n.renderOrder = this.renderorder;
var useSkinning = n instanceof THREE.SkinnedMesh;
var useVertexColors = n instanceof THREE.Mesh && n.geometry instanceof THREE.BufferGeometry && n.geometry.attributes.color;
-----END OF PAGE-----