diff options
Diffstat (limited to 'plot')
-rw-r--r--[-rwxr-xr-x] | plot/Imakefile | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/Jamfile | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/License.txt | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/Readme.txt | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/X3DOM_LICENSE.txt | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/afiles | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/plot.c | 7 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/plot.h | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/vrml.c | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/vrml.h | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/x3dom.css | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/x3dom.css.h | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/x3dom.js | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plot/x3dom.js.h | 0 |
14 files changed, 2 insertions, 7 deletions
diff --git a/plot/Imakefile b/plot/Imakefile index 316b296..316b296 100755..100644 --- a/plot/Imakefile +++ b/plot/Imakefile diff --git a/plot/Jamfile b/plot/Jamfile index 5468cd6..5468cd6 100755..100644 --- a/plot/Jamfile +++ b/plot/Jamfile diff --git a/plot/License.txt b/plot/License.txt index a871fcf..a871fcf 100755..100644 --- a/plot/License.txt +++ b/plot/License.txt diff --git a/plot/Readme.txt b/plot/Readme.txt index 6d15a37..6d15a37 100755..100644 --- a/plot/Readme.txt +++ b/plot/Readme.txt diff --git a/plot/X3DOM_LICENSE.txt b/plot/X3DOM_LICENSE.txt index d9c2faf..d9c2faf 100755..100644 --- a/plot/X3DOM_LICENSE.txt +++ b/plot/X3DOM_LICENSE.txt diff --git a/plot/afiles b/plot/afiles index 9e3f888..9e3f888 100755..100644 --- a/plot/afiles +++ b/plot/afiles diff --git a/plot/plot.c b/plot/plot.c index e3cd5bf..948cb64 100755..100644 --- a/plot/plot.c +++ b/plot/plot.c @@ -1529,12 +1529,7 @@ static int do_plot_imp( nanosleep(&ts, NULL); } } else if (dowait < 0) { - struct timespec ts; - int msec = -dowait * 1000; - - ts.tv_sec = msec / 1000; - ts.tv_nsec = (msec % 1000) * 1000000; - nanosleep(&ts, NULL); + Sleep(-dowait * 1000); } if (tpool != nil) diff --git a/plot/plot.h b/plot/plot.h index 89bf16b..89bf16b 100755..100644 --- a/plot/plot.h +++ b/plot/plot.h diff --git a/plot/vrml.c b/plot/vrml.c index 0121c53..5b3f9a1 100755..100644 --- a/plot/vrml.c +++ b/plot/vrml.c @@ -877,7 +877,7 @@ double cc[3] /* Surface color, cc == NULL or cc[0] < 0.0 */ fprintf(s->fp," ></Material>\n"); /* Hack to workaround bugs in x3dom trasparency */ if (s->fmt == fmt_x3dom && trans > 0.0) - fprintf(s->fp," <DepthMode readOnly='true'></depthMode>\n"); + fprintf(s->fp," <DepthMode readOnly='true'></depthMode>\n", trans); fprintf(s->fp," </Appearance>\n"); fprintf(s->fp," </Shape>\n"); } diff --git a/plot/vrml.h b/plot/vrml.h index ff44a6c..ff44a6c 100755..100644 --- a/plot/vrml.h +++ b/plot/vrml.h diff --git a/plot/x3dom.css b/plot/x3dom.css index c92109d..c92109d 100755..100644 --- a/plot/x3dom.css +++ b/plot/x3dom.css diff --git a/plot/x3dom.css.h b/plot/x3dom.css.h index d10fb9b..d10fb9b 100755..100644 --- a/plot/x3dom.css.h +++ b/plot/x3dom.css.h diff --git a/plot/x3dom.js b/plot/x3dom.js index 5744b3c..5744b3c 100755..100644 --- a/plot/x3dom.js +++ b/plot/x3dom.js diff --git a/plot/x3dom.js.h b/plot/x3dom.js.h index 11ea311..11ea311 100755..100644 --- a/plot/x3dom.js.h +++ b/plot/x3dom.js.h |