wmayer
833868bd13
Path: [skip ci] partially fix issue 0004765: [MSVC][Build][Permissive-][std:c++latest] FreeCAD failed to build on MSVC
2021-11-01 19:32:21 +01:00
wmayer
13ba2242de
Gui: [skip ci] allow to set edit mode in cmdSetEdit()
2021-11-01 14:47:26 +01:00
Chris Hennes
d8f38a886a
Merge pull request #5128 from luzpaz/freecad-translation-6
...
PD: Expose missing commands to translation in Measure dropdown menu
2021-11-01 00:22:28 -05:00
Chris Hennes
8348ebe8cb
Merge pull request #5136 from sanguinariojoe/qtwebengine
...
Prefer QtWebEngine over QtWebKit
2021-11-01 00:20:04 -05:00
Chris Hennes
ba2459cddc
[Spreadsheet] Fix missing header context menu
2021-10-31 23:38:11 -05:00
Jose Luis Cercos-Pita
9a7bf3abff
Prefer QtWebEngine over QtWebKit
2021-10-31 23:29:31 +01:00
Chris Hennes
0e97a30ccd
Merge pull request #5130 from Roy-043/Draft-Fix-merge-layers
...
Draft: Fix merge layers
2021-10-31 16:15:10 -05:00
Chris Hennes
002f212cee
Merge pull request #5133 from Roy-043/Draft-Fix-angle-dimension-issue
...
Draft: Fix angle dimension issue
2021-10-31 15:45:10 -05:00
Chris Hennes
ce56d65162
Merge pull request #4952 from realthunder/FixDocumentRestore
...
Fix external document loading
2021-10-31 10:36:12 -05:00
wmayer
a3a7b5a6a6
PD: [skip ci] if no active body exists then by default pre-select the first option to create a new body
2021-10-31 12:33:48 +01:00
Chris Hennes
2a9fd08e7f
Merge pull request #5132 from luzpaz/Draft-whitespace
...
Draft: Fix superfluous whitespace in translations + misc. typos
2021-10-30 22:10:27 -05:00
wmayer
9e8516002b
Part: fixes #0004774 : Datum plane or line is not available in sketch in another body via binder
2021-10-30 22:28:57 +02:00
luzpaz
b488071a55
Add requested revision by @chennes
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2021-10-30 15:20:28 -04:00
luzpaz
30a3ccde46
Add requested revision by @chennes
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2021-10-30 15:20:28 -04:00
luz paz
f742cd3c20
Refined code formatting for uniformity
2021-10-30 15:20:28 -04:00
luzpaz
4dcc03cc72
Add requested revision by @chennes
...
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2021-10-30 15:20:28 -04:00
luz paz
580a52f75c
Draft: Fix superfluous whitespace in translations + misc. typos
2021-10-30 15:20:28 -04:00
wmayer
c5b3ee7a72
Part: in ViewProviderSpline use the ViewProviderSplineExtension to avoid code duplication
2021-10-30 17:57:52 +02:00
wmayer
717219bcec
Part: [skip ci] include PartGlobal.h in ViewProviderExt.h
2021-10-30 17:57:11 +02:00
wmayer
b3a6f21866
Part: [skip ci] add PartGlobal.h with export/import macros
2021-10-30 17:29:11 +02:00
wmayer
c5fb91170b
dist-git: make script working again for Py3 and Linux
2021-10-30 14:50:00 +02:00
Zheng, Lei
a2fb4a5d6d
Minor code change according to suggestions
2021-10-30 12:30:45 +08:00
Zheng, Lei
9885dadfff
App: use enum in API Application::getDocumentByPath()
2021-10-30 11:03:55 +08:00
Zheng, Lei
fc9d3547ad
App: fix external document loading
...
The problem happens when partial loading is enabled. If document A
contains a link to some object in document B, it will load B as partial
document with only that object and its necessary dependencies. But if
document A contains another link to some object in document C which also
has a link to some object in document B, the link in document C may not
be restored, because document B is partially loaded without the linked
object. This patch will check for this case and reload document B for
more objects.
See an example reported in
https://forum.freecadweb.org/viewtopic.php?p=495078#p495078
2021-10-30 11:03:52 +08:00
Zheng, Lei
414ea71a28
Part: fix unnecessary document 'modified' status
2021-10-30 11:02:39 +08:00
Zheng, Lei
01d8d26bb4
Gui: fix document 'modified' status on view property change
2021-10-30 11:02:39 +08:00
Uwe
f58faa607d
Merge branch 'master' into PDEdit
2021-10-30 00:30:14 +02:00
wmayer
971057539f
Unit test: [skip ci] gimbal lock
2021-10-29 20:02:09 +02:00
0penBrain
0bd0ec5ed2
[PartDesign] Remove useless function overriding
...
Double-click is already handled by PartDesign::ViewProvider::doubleClicked()
Overridings in Loft & Pipe brings no specific behavior
By removing overridings, behavioral consistency is improved both in ...
... undo commands & body activation management when PartDesign items ...
... are double-clicked
2021-10-29 17:30:06 +02:00
wmayer
7a35afdd8e
Gui: add class RotationHelper to reduce code duplication of PropertyRotationItem and PropertyPlacementItem
2021-10-29 15:59:55 +02:00
wmayer
61de191771
Gui: implement editor for PropertyRotation
2021-10-29 12:41:03 +02:00
wmayer
16ae568549
App: add class PropertyRotation
2021-10-29 12:40:32 +02:00
Roy-043
a624f6a50c
Draft: Fix angle dimension issue
...
If the end points of the selected edges for an angular dimension were (almost) coincident with their intersection, random angles could be calculated. In essence a floating point inaccuracy issue.
2021-10-28 19:29:59 +02:00
wmayer
09e2e7acfa
Sketcher: [skip ci] handle coincident points when trying to create arc/circle
2021-10-28 17:03:11 +02:00
Bernd Hahnebach
5e2bb15999
Arch: import IFC, Materials, make merge materials working on duplicate label setting
2021-10-28 16:02:06 +02:00
Bernd Hahnebach
226e0adab9
Arch: import IFC, Material, small improvement, no changes
2021-10-28 15:45:15 +02:00
Bernd Hahnebach
0a820e92fd
Arch: import IFC, Materials, small code improvements, no changes
2021-10-28 15:43:35 +02:00
Bernd Hahnebach
cd9055c396
Arch: import IFC, use doc identifier instead of FreeCAD.ActiveDocument
2021-10-28 09:49:51 +02:00
Bernd Hahnebach
5f82ec99fc
Arch: IFC export and import, some code formating (only very clearly ones)
2021-10-27 23:10:01 +02:00
wmayer
cd8ce95f53
Base: [skip ci] C++11: modernize use nullptr (replaces NULL or 0)
2021-10-27 19:26:26 +02:00
wmayer
b159144e13
Base: [skip ci] handle gimbal lock when computing Euler angles
2021-10-27 17:02:07 +02:00
wmayer
cd91c73382
Base: [skip ci] in Rotation class allow to set angle in radian
...
App.Rotation(axis, angle) still defines the angle in degree
App.Rotation(axis, Degree=angle) does the same as above
App.Rotation(axis, Radian=angle) defines the angle in radian
2021-10-27 10:59:34 +02:00
wmayer
4c886771d1
Base: harmonize Python API of Rotation class
2021-10-27 10:40:35 +02:00
Roy-043
8b7718f823
Draft: Fix merge layers
...
The "Merge layer duplicates" Tree view context menu option for LayerContainers did not work.
Additionally:
- Using `openTransaction` and `commitTransaction` is required for the `merge_by_name` function but also for the `add_layer` function. Otherwise undo-redo does not work properly.
- Have replaced `translate("Draft", ...)` with `_tr(...)`.
2021-10-27 08:32:10 +02:00
Bernd Hahnebach
082989ac86
Arch: import IFC, replace project, comment debug print
2021-10-27 08:17:48 +02:00
Roy-043
7d21029ff5
Std: Fix URLs in CommandStd.cpp
...
Updated all URLs to the new freecad.org domain.
2021-10-27 08:08:39 +02:00
wmayer
951a0be9c7
Base: [skip ci] expose Rotation.fromEuler() to Python
2021-10-27 00:34:36 +02:00
luz paz
4c754f7af7
Arch: add missing paranthesis to strings
...
Found while approving translations in crowdin
2021-10-26 22:24:38 +02:00
Bernd Hahnebach
f9da862dcc
Arch: import IFC, fix import if replace project and only one building or one storey
2021-10-26 22:18:37 +02:00
wmayer
8aa340b9e7
Gui: [skip ci] fix regression not to allow to have selected several objects when opening the placement dialog
2021-10-26 21:55:15 +02:00