From 1f584cd4b06d66903c0ff82dcd1a7f03066a081d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 5 Dec 2013 00:08:32 +0000 Subject: media9 (4dec13) git-svn-id: svn://tug.org/texlive/trunk@32322 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/media9/javascript/3Dmenu.js | 118 +++++++++++---------- Master/texmf-dist/tex/latex/media9/media9.sty | 21 +++- 2 files changed, 78 insertions(+), 61 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/media9/javascript/3Dmenu.js b/Master/texmf-dist/tex/latex/media9/javascript/3Dmenu.js index 8d791a9734f..17dd99b60b0 100644 --- a/Master/texmf-dist/tex/latex/media9/javascript/3Dmenu.js +++ b/Master/texmf-dist/tex/latex/media9/javascript/3Dmenu.js @@ -1,10 +1,10 @@ //////////////////////////////////////////////////////////////////////////////// // -// (C) 2012, Alexander Grahn +// (C) 2012--today, Alexander Grahn // // 3Dmenu.js // -// version 20131127 +// version 20131204 // //////////////////////////////////////////////////////////////////////////////// // @@ -500,10 +500,17 @@ function get3Dview () { } if(defaultrender!='Solid') res+=' RENDERMODE='+defaultrender+'\n'; + + //detect existing Clipping Plane (3D Cross Section) + var clip=null; + if( + clip=scene.nodes.getByName('$$$$$$')|| + clip=scene.nodes.getByName('Clipping Plane') + ); for(var i=0;i