repo: janusweb
action: commit
revision: 
path_from: 
revision_from: c24208e08107db4c88dcf61d33176241d2e197f9:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit c24208e08107db4c88dcf61d33176241d2e197f9
Author: James Baicoianu 
Date:   Wed Oct 6 01:59:36 2021 -0700

    Disable obsolete "reflectivity" material param

diff --git a/scripts/object.js b/scripts/object.js
index 24deee2f704a6e305d62c528a1b0523f2470231a..
index ..0f23546f6edf12c5902182b847cb58e983d68935 100644
--- a/scripts/object.js
+++ b/scripts/object.js
@@ -946,7 +946,7 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() {
         if (oldmat.thickness !== undefined) m.thickness = oldmat.thickness;
         if (oldmat.thicknessMap !== undefined) m.thicknessMap = oldmat.thicknessMap;

-        m.reflectivity = (oldmat.reflectivity !== undefined ? oldmat.reflectivity : .5);
+        //m.reflectivity = (oldmat.reflectivity !== undefined ? oldmat.reflectivity : .5);

         if (oldmat.roughnessMap !== undefined) {
           m.roughnessMap = oldmat.roughnessMap;

-----END OF PAGE-----