Commit Graph

5781 Commits

Author SHA1 Message Date
wmayer
066749fdc9 + fixes #0002372: Application terminates on attempt to change external geometry from a sketch
+ fixes #0002373: When Measuring in the distance between two external geometry Freecad crashes
2015-12-25 09:47:25 +01:00
Mateusz Skowroński
83bcbebe5f Add missing QMimeData.h includes.
This change is Qt4/Qt5 neutral.
2015-12-24 13:36:46 +01:00
Mateusz Skowroński
803a845242 qVariantValue() is obsolete in Qt4. Replace it with equivalent QVariant::value<T>(value).
This change is Qt4/Qt5 neutral.
2015-12-24 12:49:26 +01:00
Mateusz Skowroński
9fe645d660 QFileDialog::selectFilter() is obsolete in Qt4. Replace it with selectNameFilter().
This change is Qt4/Qt5 neutral.
2015-12-24 12:49:08 +01:00
Mateusz Skowroński
984f4e335b QFileDialog::filters() is obsolete in Qt4. Replace it with nameFilters().
This change is Qt4/Qt5 neutral.
2015-12-24 12:48:49 +01:00
Yorik van Havre
fd15f66b4d Drawing: Added python feature to ViewProviderDrawingView - fixes #2276 2015-12-23 17:03:46 -02:00
Yorik van Havre
5244d9f17a Draft: small fix in trimex snap mode 2015-12-23 15:19:03 -02:00
wmayer
ee61fb5533 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-23 15:44:38 +01:00
wmayer
a6f03db1e7 + implement property editor item for FEM mesh 2015-12-23 15:44:11 +01:00
wmayer
d5f2b00609 + add missing comma in property item 2015-12-23 15:43:29 +01:00
Jonathan Wiedemann
2633821eba Arch : Add Align property to StructuralSystem 2015-12-23 12:35:01 -02:00
Yorik van Havre
621630566b Draft: small fix in Arch Axes SVG output 2015-12-23 12:13:29 -02:00
Yorik van Havre
4157ec0d65 Draft: Fixed display of Arch axes on Drawing views 2015-12-23 11:55:34 -02:00
Yorik van Havre
3064e2b68d Arch: fixed projection of Drawing views of arch sectionplanes - fixes #2233 2015-12-23 11:32:36 -02:00
Yorik van Havre
a96a5c1db3 Draft: Fixed arc bug in DXF export - fixes #2208 2015-12-22 11:54:55 -02:00
Mateusz Skowroński
1858400e61 QInputDialog::getInteger() is obsolete in Qt4. Replace it with getInt().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:47 +01:00
Mateusz Skowroński
eef82c47e7 QFileDialg::selectedFilter() is obsolete in Qt4. Replace it with selectedNameFilter().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:46 +01:00
Mateusz Skowroński
25e68f180c QFileDialg::setFilters() is obsolete in Qt4. Replace it with setNameFilters().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:45 +01:00
Mateusz Skowroński
c7ddc3fd9a QWidget::setShown() is obsolete in Qt4. Replace it with setVisible().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:45 +01:00
Mateusz Skowroński
862b75b10b Add missing forward declaration of QPrinter to MDIView.h.
This change is Qt4/Qt5 neutral.
2015-12-22 05:44:52 +01:00
wmayer
1dfc3ed4e8 + handle exceptions when restoring dynamic properties 2015-12-21 18:24:12 +01:00
Yorik van Havre
f17c0dcdf3 Arch: small encoding bugfix 2015-12-21 12:37:57 -02:00
Yorik van Havre
e159838cd5 Arch: improvements to Axis - fixes #2138
* Fixed small bugs
* More options to position the bubble (start, end or both)
* Properties for text size and font
2015-12-21 12:21:31 -02:00
Eivind Kvedalen
0d9b36c4eb PropertyConstraintList: Use correct indices when checking the constraint type. 2015-12-21 14:11:14 +01:00
Eivind Kvedalen
72bb18a53f PropertyExpressionEngine/DocumentObject: Track object deletes and update dependencies accordingly. 2015-12-21 14:11:13 +01:00
Eivind Kvedalen
9d1c1ba0e1 PropertyExpressionEngine::slotObjectRenamed(...): return immediately if the property's owner is not part of an object (e.g on the undo stack). 2015-12-21 14:11:13 +01:00
Eivind Kvedalen
48de598f82 PropertyExpressionEngine::slotObjectRenamed(...): only change the object if it is absolutely necessary,
or else the object will in most cases be touched, leading to unnecessary recomputes.
2015-12-21 14:11:12 +01:00
Eivind Kvedalen
ca0c9de886 Expression/ObjectIdentifier: changed return type of renameDocumentObject and renameDocument,
to be able to signal that a rename actually took place.
2015-12-21 14:11:12 +01:00
Eivind Kvedalen
58727037ef DocumentObject: Don't emit signal if Label hasn't actually changed. 2015-12-21 14:11:11 +01:00
Yorik van Havre
667e2548b0 Arch: set the Lenght property of walls automatically when based on baselines 2015-12-20 12:41:25 -02:00
Yorik van Havre
fbc64ce355 Draft: disabled moving siblings when moving an object 2015-12-19 22:32:56 -02:00
Yorik van Havre
e33bb9b1ec Arch: Walls now adopt the current working plane orientation on creation - fixes #2175 2015-12-19 12:53:20 -02:00
wwmayer
ddd6ac1f54 Merge pull request #71 from ianrrees/20151216-3dconnexion-mac
Fixed paths for 3Dconnexion headers on Mac
2015-12-19 14:19:58 +01:00
wmayer
d8f9fc8f74 + make method cancelObservation() not pure virtual 2015-12-19 11:31:59 +01:00
Ian Rees
432e2ff121 Fixed paths for 3Dconnexion headers on Mac 2015-12-19 15:08:54 +13:00
Yorik van Havre
5203cdfd55 Arch: Creating windows no longer removes external refs from base sketches - fixes #2326 2015-12-18 22:11:53 -02:00
wmayer
c554439073 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-18 22:48:53 +01:00
Eivind Kvedalen
d012bdba3a NumberExpression: Added std::setprecision to keep precision of number in double to string conversion. 2015-12-18 22:05:32 +01:00
Eivind Kvedalen
af9d9be117 PropertyPlacement: Fixed setting of angle (missing deg to radian conversion). 2015-12-18 22:05:31 +01:00
Eivind Kvedalen
b087991559 ObjectIdentifier: Added std::setprecision to keep precision of double to string conversion. 2015-12-18 22:05:31 +01:00
Eivind Kvedalen
8c18dba109 Sketcher: Fixed setPathValue to convert angles to radians before they are stored in the Constraint object. This mimics the setDatum implementation. 2015-12-18 22:05:30 +01:00
Yorik van Havre
bfd50ee684 Draft: workaround for exporting DXF with R14+ templates - fixes 2177
- Adapted Drawing algos to export R14+ compatible DXF code
- Added option in DXF prefs to disable groups (not supported in R14+ templates)
2015-12-18 10:47:14 -02:00
Yorik van Havre
6c3bdf489b Arch: IFC bugfix + added pref option to use DAE triangulation options 2015-12-18 10:39:40 -02:00
Yorik van Havre
fc5c96c537 Changed default shortcuts for 10 first workbenches from CTRL+number to ALT+CTRL+number 2015-12-18 10:39:27 -02:00
wmayer
9f472f5c41 + improve getting proper group name from Python module path name 2015-12-17 18:56:40 +01:00
wmayer
0dad1fac15 + improve getting proper group name from Python module name 2015-12-17 10:41:01 +01:00
DeepSOIC
89a59975ed OpenSCAD: fix replaceChild
was broken because it failed trying to set a read-only
"ExpressionEngine" property
2015-12-17 03:34:16 +03:00
wmayer
32377b7635 + use Python's inspect module to get calling instance of addCommand 2015-12-16 23:07:24 +01:00
wmayer
b3190ca956 + improve autoload mechanism to get commands of custom toolbars 2015-12-16 21:19:12 +01:00
DeepSOIC
1ed75e64de API: improve built-in docu for copyObject and moveObject 2015-12-16 20:45:54 +03:00