needs to be replaced by the following
I am just wondering if you could commit this change with the macro to check version...
----- Update -----
I've noticed a few segfaults with Sketcher. Really I should post a bug report, but for now I'll just post it in here:
In FeatureSketchBased.cpp lines 260-270
- Code: Select all
when the function isInside returns, FreeCAD will segfault. The culprit is the ShapeAnalysis, I am certain it's something to do with the new memory allocated (scoped pointers) they are using but I don't know much about this. The destructor is called automatically and at this point it segfaults. Creating ShapeAnalysis_Surface on the heap, FreeCAD will not crash.
I cannot tell if this is an issue with us or with OCE / OpenCascade.
There's also a similar style bug when the Placement Property in Part2DFeature is changed. It's a similar problem.
What do you think?