diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-08 18:41:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-08 18:41:28 +0000 |
commit | a3358f7394e3adabeff44a4858bab8f13cbe1180 (patch) | |
tree | 014354d566c06a47c483b7231af921247180f770 /Master/texmf-dist/doc/asymptote/examples/pdb.asy | |
parent | 11bcd1a52098dab6ac5baa790409a2261a31755f (diff) |
asymptote 2.21
git-svn-id: svn://tug.org/texlive/trunk@29753 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/pdb.asy')
-rw-r--r-- | Master/texmf-dist/doc/asymptote/examples/pdb.asy | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/pdb.asy b/Master/texmf-dist/doc/asymptote/examples/pdb.asy index b3b954c8c6a..ad86d5172c4 100644 --- a/Master/texmf-dist/doc/asymptote/examples/pdb.asy +++ b/Master/texmf-dist/doc/asymptote/examples/pdb.asy @@ -4,8 +4,6 @@ import cpkcolors; // A sample Protein Data Bank file for this example is available from // http://ndbserver.rutgers.edu/ftp/NDB/coordinates/na-biol/100d.pdb1 -bool getviews=true; - currentlight=White; //currentlight=nolight; @@ -160,13 +158,7 @@ string options; string viewfilename=prefix+".views"; if(!error(input(viewfilename,check=false))) - options="3Dviews2="+viewfilename; - -if(getviews && prc()) { - picture pic; - add(pic,embed("label",currentpicture,options=options),(0,0),N); - label(pic,cameralink("label"),(0,0),S,fontsize(12pt)); - shipout(prefix,pic,options=options); -} else - shipout(prefix,options=options); + options="3Dviews="+viewfilename; + +shipout(prefix,options=options); |