Merge pull request #4631 from sde1000/webgl-export-camera-buttons
Fix camera position buttons in WebGL export
This commit is contained in:
@@ -326,8 +326,8 @@ def getHTMLTemplate():
|
||||
clippingz: 100,
|
||||
cameraType: cameraType,
|
||||
navright: function() { navChange( [1,0,0] ); },
|
||||
navtop: function() { navChange( [0,1,0] ); },
|
||||
navfront: function() { navChange( [0,0,1] ); }
|
||||
navtop: function() { navChange( [0,0,1] ); },
|
||||
navfront: function() { navChange( [0,-1,0] ); }
|
||||
};
|
||||
|
||||
// ---- Wires ----
|
||||
@@ -807,4 +807,4 @@ def baseEncode( arr ):
|
||||
output.append( buffer )
|
||||
if len(buffer) > longest: longest = len(buffer)
|
||||
output = [('{:>'+str(longest)+'}').format(x) for x in output] # pad each element
|
||||
return str(longest) + ('').join(output)
|
||||
return str(longest) + ('').join(output)
|
||||
|
||||
Reference in New Issue
Block a user