Article View: comp.graphics.avs
Article #214Bug in new_ortho module
From: Nils Thune
Date: Fri, 16 Oct 1992 07:44
Date: Fri, 16 Oct 1992 07:44
30 lines
1341 bytes
1341 bytes
If you got higher dimensions in i or j than in k, and you toggle from either i or j to k with a slice number higher than k's dimension then the module hangs.
I put this "if statement" into the compute module and it seems to fix it.
/* if made it here, then we're actually going to copy a slice
over. start off by copying the data itself */
if (slice_number >= inf->dimensions[choice_value]-1)
{
slice_number = inf->dimensions[choice_value]-1;
AVSmodify_parameter("Slice number",AVS_VALUE,slice_number,NULL,NULL);
}
--
- Nils
--------------------------------
Nils Thune
Advanced Computing
Christian Michelsen Research
Fantoftvegen 38
N-5036 Fantoft, Bergen, Norway
Email: thune@cmr.no
Phone: 05 574040
Phone: 05 574355 (Direct)
Fax : 05 574041
--------------------------------
Technical Details
Message-ID:
<1992Oct16.074447.17378@alf.uib.no>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!gatech!swrinde!cs.utexas.edu!sun-barr!ames!agate!doc.ic.ac.uk!uknet!mcsun!sunic!aun.uninett.no!alf.uib.no!cmi.no!thuneShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!gatech!swrinde!cs.utexas.edu!sun-barr!ames!agate!doc.ic.ac.uk!uknet!mcsun!sunic!aun.uninett.no!alf.uib.no!cmi.no!thune From: thune@cmi.no (Nils Thune) Newsgroups: comp.graphics.avs Subject: Bug in new_ortho module Message-ID: <1992Oct16.074447.17378@alf.uib.no> Date: 16 Oct 92 07:44:47 GMT Sender: usenet@alf.uib.no (Bergen University Newsaccount) Organization: Christian Michelsen Research a/s Lines: 30