aboutsummaryrefslogtreecommitdiff
path: root/js/lib/drawing
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/drawing')
-rwxr-xr-xjs/lib/drawing/world.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/js/lib/drawing/world.js b/js/lib/drawing/world.js
index 9a7d42de..23e24347 100755
--- a/js/lib/drawing/world.js
+++ b/js/lib/drawing/world.js
@@ -1028,29 +1028,6 @@ World.prototype.importObjectJSON = function( jObj, parentGeomObj )
1028 return obj; 1028 return obj;
1029}; 1029};
1030 1030
1031World.prototype.refreshTextures = function( obj )
1032{
1033 if (obj == null) obj = this._geomRoot;
1034 if (!obj) return;
1035 if (obj._materialArray)
1036 {
1037 var nMats = obj._materialArray.length;
1038 for (var i=0; i<nMats; i++)
1039 {
1040 var mat = obj._materialArray[i];
1041 if (mat)
1042 mat.updateTextures();
1043 }
1044 }
1045
1046 if (obj.getChild()) {
1047 this.refreshTextures( obj.getChild () );
1048 }
1049
1050 if (obj.getNext())
1051 this.refreshTextures( obj.getNext() );
1052};
1053
1054function Notifier() 1031function Notifier()
1055{ 1032{
1056 // notification types supported 1033 // notification types supported