ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/soqt.patch
Revision: 1.1
Committed: Wed Mar 15 21:36:14 2006 UTC (19 years, 1 month ago) by eulisse
Branch: MAIN
CVS Tags: CRABSERVER_TEST_BUILD_V4, CRABSERVER_TEST_BUILD_V3, CRABSERVER_TEST_BUILD_V2, CRABSERVER_TEST_BUILD_V1, forCRABSERVER104test, forCRABSERVER103, PRODAGENT_0_10_12_V7, PRODAGENT_0_10_12_V6, PRODAGENT_0_10_12_V5, PRODAGENT_0_10_12_V4, forCS102pre4, PRODAGENT_0_10_12_V3, PRODAGENT_0_10_12_V2, PRODAGENT_0_10_12, PRODAGENT_0_10_3, PRODAGENT_0_10_3_20080521, PRODAGENT_0_8_3_SL4, forPA070pre3-slc3, forPA070pre3-slc4, forPA070pre3-slc, forPA061, forPA060pre7-slc4, forPA060pre3, forDBS106, forPA050pre3, WEBTOOLS_CONFIG_1_pre2, WEBTOOLS_CONFIG_1_pre1, forPA030, forPA020, PR_0_5_4, PR_0_5_0, PR_0_4_21, PRODREQUEST_0_4_0, PR0_3_13, PR0_3_12, PR0-3-11, forPR034, forPR033, forPIL116, forPR032, forPR030, forPR020, forPA011, forPR010, forPA010, af20060928, for100pre1, for091, for082, for090, CMSSW_0_8_1, for090_RC1, CMSSW_0_9_0_pre3, nr_baran081_t1, for080_testfixes1, for090p2, forCMSSW090p2, for080_testfixes, for090p2_RC5, for090p2_RC4, for090p2_RC3, for090p2_RC2, for090p2_RC1, ProdAgent_pa17, for081, for080_amd64, for080, for080p4, for080pre3, phedex_2_3_series, forLCG_44, forCMSSW_0_8_0_pre2, V00-01-02, V00-01-2, V00-01-01, V00-01-00, V00-00-11, V00-00-10, V00-00-09, V00-00-08, V00-00-07, V00-00-06, V00-00-05, V00-00-04, V00-00-03, V00-00-02, V00-00-01, V00-00-00, test2, test1, NataliaStart
Log Message:
First added to repository.

File Contents

# User Rev Content
1 eulisse 1.1 ### PATCH soqt
2     --- src/Inventor/Qt/common/viewers/SoGuiViewer.cpp.in.orig Fri Oct 17 12:17:45 2003
3     +++ src/Inventor/Qt/common/viewers/SoGuiViewer.cpp.in Fri Oct 17 12:20:48 2003
4     @@ -1011,8 +1011,10 @@
5     // rotated.
6     const float SLACK = 0.001f;
7    
8     - this->camera->nearDistance = nearval * (1.0f - SLACK);
9     - this->camera->farDistance = farval * (1.0f + SLACK);
10     + if (fabs (this->camera->nearDistance.getValue () - nearval * (1.0f - SLACK)) < 0.00001)
11     + this->camera->nearDistance = nearval * (1.0f - SLACK);
12     + if (fabs (this->camera->farDistance.getValue () - farval * (1.0f + SLACK)) < 0.00001)
13     + this->camera->farDistance = farval * (1.0f + SLACK);
14    
15    
16     // FIXME: there's a possible optimization to take advantage of here,
17