FreeCAD/src/Mod
Abdullah Tahiri 214169616d Sketch: Bug fix: On delete crash with unsuccesful solving
==========================================================

Fixes the one reported by JMG here (Thanks!!):
http://forum.freecadweb.org/viewtopic.php?f=3&t=11508#p92693

Why?
- The newly introduced redrawing policy requires that the solver geometry matches in number the sketchobject geometry.
- Most (all) problems with updateColor or getGeometry returning a null pointer are related to an out of sync between UI geometry and SketchObject geometry.

General solution:
- In other bugs, a missing "solve()" is the problem, once the solver and sketchobject geometries have the same number, an SketchObject::OnChanged triggers
a VPSketch::draw (via VPSketch::updateData) which updates the UI geometry to match SketchObject geometry and then the problem does not arise.

Particular solution:
- In this bug, the problem is not a missing solve, but the fact that the solving was not succesful and did not synchronize the geometries, however triggering a
draw() on unsuccessful solving, syncronizes the UI geometry with the SketchObject geometry and the crash is gone.
2015-06-25 14:33:22 +02:00
..
Arch Arch: Section planes now restore the view clipping when loaded 2015-06-22 21:58:56 -03:00
Assembly Updated ts files from source 2015-02-27 18:56:51 -03:00
Cam + remove useless stuff from Init files 2015-01-13 16:19:19 +01:00
Complete Updated ts files from source 2015-02-27 18:56:51 -03:00
Draft Draft: Better docstring for DraftGeomUtils.fillet() 2015-06-22 22:03:13 -03:00
Drawing + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00
Fem FEM: All FEM results are stored in a single object 2015-06-24 17:44:02 +02:00
Idf remove support for automake 2014-11-26 10:26:30 +01:00
Image + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00
Import + prepare OCAF document to keep placement 2015-05-16 21:41:53 +02:00
Inspection + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00
JtReader + remove useless stuff from Init files 2015-01-13 16:19:19 +01:00
Material Material: Use repr instead of backticks 2015-04-23 17:02:02 +02:00
Mesh + remove SoFCSelection from ViewProviderGeometryObject 2015-05-20 21:44:27 +02:00
MeshPart + fix bug in read-only InputField, minor Utf-8 issue in meshing dialog 2015-04-22 14:01:27 +02:00
OpenSCAD test for default color from preferences in OpenSCAD/Explode command 2015-03-21 13:29:33 +01:00
Part + implement Geometry.copy for Python 2015-06-15 21:28:29 +02:00
PartDesign Sketcher: Major re-structuration: New Solving Model: General Sketch Solve call reduction 2015-06-15 22:53:59 +02:00
Plot Fixed 'Axes' object has no attribute 'get_frame' error (see http://matplotlib.org/api/api_changes.html) 2015-05-31 19:28:16 +02:00
Points + remove SoFCSelection from ViewProviderGeometryObject 2015-05-20 21:44:27 +02:00
Raytracing Workaround for issue #1963 - Search for templates in userAppData/Templates folder 2015-04-20 12:45:43 -03:00
ReverseEngineering Updated ts files from source 2015-02-27 18:56:51 -03:00
Robot Add ability to have external orocos-kdl library instead of the suplied 2015-06-24 11:54:31 +02:00
Sandbox improvements in exportDRAWEXE 2015-03-21 13:29:32 +01:00
Ship Corrected the wetted surface units 2015-06-01 12:00:30 -03:00
Sketcher Sketch: Bug fix: On delete crash with unsuccesful solving 2015-06-25 14:33:22 +02:00
Spreadsheet Spreadsheet: Fixed bug in dependency tracking between objects. 2015-06-25 10:40:29 +02:00
Start Merged crowdin translations 2015-03-07 15:17:58 -03:00
TemplatePyMod + minor change 2015-01-13 21:54:54 +01:00
Test + unit test for PropertyEnumeration 2015-04-26 22:17:32 +02:00
Web + fix loading of certain urls in web page 2015-06-24 13:35:13 +02:00
__init__.py + unify DLL export defines to namespace names 2011-10-10 13:44:52 +00:00
.gitattributes + add blacklists to exlude files from being archived by Git 2012-02-02 17:00:33 +01:00
CMakeLists.txt move build specifier in own cMake group 2014-08-03 20:53:19 +02:00
mod.dox + unify DLL export defines to namespace names 2011-10-10 13:44:52 +00:00