Changesets: occt

master db3d2a99

2012-07-20 12:16:50

Pawel

Details Diff
0023335: Array overrun is possible. The value of 'i' index could reach 200 in Interface_MSG.cxx

Iterating from 1 to 199 over the 'buf' in order to avoid an overrun.
Affected Issues
0023335
mod - src/Interface/Interface_MSG.cxx Diff File

master d497b314

2012-07-20 11:07:26

Pawel

Details Diff
0023333: The variable 'i' is being used for this loop and for the outer loop in Vrmldata_ShapeConvert.cxx

Use separate variable to iterate the inner loop.
Affected Issues
0023333
mod - src/VrmlData/VrmlData_ShapeConvert.cxx Diff File

master e26b06c3

2012-07-19 13:51:32

abk


Committer: bugmaster Details Diff
0023330: Redundant copying in Geom2d_OffsetCurve::Geom2d_OffsetCurve method

Redundant copying of 'C' in Geom2d_OffsetCurve::Geom2d_OffsetCurve(const Handle(Curve)& C, const Standard_Real Offset) method was removed.
Affected Issues
0023330
mod - src/Geom2d/Geom2d_OffsetCurve.cxx Diff File

master d28abc65

2012-07-18 12:50:45

Pawel

Details Diff
0023326: The 'aSibling' pointer was utilized before it was verified against nullptr. ldom_element.cxx

Verifying pointer against NULL before accessing it.
Affected Issues
0023326
mod - src/LDOM/LDOM_Element.cxx Diff File

master e2570917

2012-07-18 10:53:47

Pawel

Details Diff
0023325: Always getting the transparency of the back face

Added the 'breaks' in the affected 'switch' statement.
Affected Issues
0023325
mod - src/Prs3d/Prs3d_ShadingAspect.cxx Diff File

master 9d21a648

2012-07-18 10:48:11

Pawel

Details Diff
0023322: Identical sub-expressions 'MyCView.Orientation.ViewReferencePoint.y != float (Y)'

Changed the duplicate 'y' to 'z'.
Affected Issues
0023322
mod - src/Visual3d/Visual3d_View.cxx Diff File

master b31fce37

2012-07-18 10:43:54

Pawel

Details Diff
0023320: The body of 'OpenCollector' function is fully equivalent to the body of 'CloseCollector' function

When opening the collector setting the corresponding flag to Standard_False.
Affected Issues
0023320
mod - src/AIS/AIS_InteractiveContext.cxx Diff File

master b804b20e

2012-07-18 10:42:02

Pawel

Details Diff
0023319: Typo in AIS_ConcentricRelation.cxx line 156

Checking if the 'Vertex2' (NOT 'Vertex1') is on plane in order to project it.
Affected Issues
0023319
mod - src/AIS/AIS_ConcentricRelation.cxx Diff File

master 53aa7b32

2012-07-18 10:40:06

Pawel

Details Diff
0023318: If statement equal to else statement in AIS_ConcentricRelation.cxx, lines 108-115

Corrected the else-clause.
Affected Issues
0023318
mod - src/AIS/AIS_ConcentricRelation.cxx Diff File

master e9eb6248

2012-07-18 08:48:50

Pawel

Details Diff
0023317: Using the iteration variable in the inner and outer loop in GGraphic2d_SetOfCurves.cxx

Replaced the iteration variable for the internal loop.
Affected Issues
0023317
mod - src/GGraphic2d/GGraphic2d_SetOfCurves.cxx Diff File

master 3f6213c3

2012-07-18 08:44:57

Pawel

Details Diff
0023315: Duplicate comarison in an if-clause ib Prs2d_ToleranceFrame.cxx

Testing the length of 'myTxt2' instead of 'myTxt1' twice.
Affected Issues
0023315
mod - src/Prs2d/Prs2d_ToleranceFrame.cxx Diff File

master 841d6672

2012-07-17 15:38:18

Pawel

Details Diff
0023313: Return Standard_False in case of an unsupported case in IntAna_Curve.cxx

Return Standard_False in case of unsupported case.
Affected Issues
0023313
mod - src/IntAna/IntAna_Curve.cxx Diff File

master 606a112a

2012-07-17 14:58:53

Pawel

Details Diff
0023311: Duplicated check in if-clause in ChFi2d_Builder_0.cxx

Verifying that the second provided edge is neither a line nor a circle.
Affected Issues
0023311
mod - src/ChFi2d/ChFi2d_Builder_0.cxx Diff File

master 431258f7

2012-07-17 14:08:11

Pawel

Details Diff
0023308: A typo in if-clause, in TopOpeBRepDS_EXPORT.cxx

Corrected typo in the if-clause.
Affected Issues
0023308
mod - src/TopOpeBRepDS/TopOpeBRepDS_EXPORT.cxx Diff File

master f6475f03

2012-07-17 13:46:18

Pawel

Details Diff
0023307: Same variable value verified twice in TopOpeBRepTool_TOOL.cxx

Checking both variable values: onf, onl.
Affected Issues
0023307
mod - src/TopOpeBRepTool/TopOpeBRepTool_TOOL.cxx Diff File

master f7233960

2012-07-17 13:31:40

Pawel

Details Diff
0023305: One index value verified twice in BRepFill_TrimShellCorner.cxx

Verifying both affected indexes instead of one.
Affected Issues
0023305
mod - src/BRepFill/BRepFill_TrimShellCorner.cxx Diff File

master 5e335c5b

2012-07-17 13:26:25

abv


Committer: abv Details Diff
0023276: Add generated files to .gitignore

Directories for generated files (projects, Visual Studio artifacts, Emacs backup files, test results) are added to .gitignore
Suppressed generated files.
Allow to use bat, sh, am, m4 and ac files in subdirectories.
Affected Issues
0023276
mod - .gitignore Diff File

master 50e433aa

2012-07-17 13:07:03

Pawel

Details Diff
0023304: Copying constructor fails to copy both 'myIndx' variables.

Copy constructor corrected.
Affected Issues
0023304
mod - src/BRepMesh/BRepMesh_PairOfIndex.hxx Diff File

master 56084216

2012-07-17 12:43:45

Pawel

Details Diff
0023303: Expression always true in ShapeFix_Face.cxx

The two corrected if-clause conditions were always true.

In FixSmallAreaWire where the documentation says: "Detects wires with small area (that is less than 100*Precision::PConfusion(). Removes these wires if they are internal." and the bugfix conforms to this.

For 'NeedCheckSplitWire' option in the Perform method the same assumption is made although no documentation on this could be found.
Affected Issues
0023303
mod - src/ShapeFix/ShapeFix_Face.cxx Diff File

master dede2e21

2012-07-17 12:26:22

Pawel

Details Diff
0023301: Comparing variable to itself in ShapeUpgrade_WireDivide.cxx

Fixing self-comparison.
Affected Issues
0023301
mod - src/ShapeUpgrade/ShapeUpgrade_WireDivide.cxx Diff File

master fccb487b

2012-07-17 12:23:53

Pawel

Details Diff
0023300: ShapeFix_EdgeProjAux.cxx: line 283 - identical sub-expression in 'if-clause'

Verifying also the last parameter in the if-clause.
Affected Issues
0023300
mod - src/ShapeFix/ShapeFix_EdgeProjAux.cxx Diff File

master b476213a

2012-07-17 12:21:01

Pawel

Details Diff
0023299: ShapeCustom_BSplineRestriction.cxx: line 732 - identical sub-expression in 'if-clause'

Verifying both affected variables in the if-clause.
Affected Issues
0023299
mod - src/ShapeCustom/ShapeCustom_BSplineRestriction.cxx Diff File

master 8fb480b3

2012-07-17 09:37:28

Pawel

Details Diff
0023296: Not verifying method return flag

Checking the returned flag. If the method fails return.
Affected Issues
0023296
mod - src/BOPTools/BOPTools_Tools3D.cxx Diff File

master 8558350d

2012-07-17 09:34:42

Pawel

Details Diff
0023295: A part of conditional expression is always true

Checking if curve type is GeomAbs_BSplineCurve.
Affected Issues
0023295
mod - src/BOPTools/BOPTools_PaveFiller_3.cxx Diff File

master b6648a4a

2012-07-16 15:13:20

ama

Details Diff
0023224: Empty result done by intersection algorithm

Remove the cutting of the original surface from IntCurveSurface_Inter to see how much it affects the correctness of the algorithm.
mod - src/IntCurveSurface/IntCurveSurface_Inter.gxx Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 234 235 236 237 238 239 240 ... 254 255 256  Next  Last