Skip to content

Commit

Permalink
Merge pull request #4631 from sde1000/webgl-export-camera-buttons
Browse files Browse the repository at this point in the history
Fix camera position buttons in WebGL export
  • Loading branch information
yorikvanhavre committed Mar 26, 2021
2 parents 48098ee + 75b4225 commit 9b2dc76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Arch/importWebGL.py
Expand Up @@ -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 ----
Expand Down Expand Up @@ -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)

0 comments on commit 9b2dc76

Please sign in to comment.