diff --git a/src/Mod/Arch/importWebGL.py b/src/Mod/Arch/importWebGL.py index f2bae8213e..3558dca0a8 100644 --- a/src/Mod/Arch/importWebGL.py +++ b/src/Mod/Arch/importWebGL.py @@ -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) \ No newline at end of file + return str(longest) + ('').join(output)