Commit Graph

20849 Commits

Author SHA1 Message Date
luz paz
9a9267f922 Mesh: Convert comments from DE->EN
Bringing uniformity to documenting FreeCAD
2021-11-03 11:13:16 -04:00
Chris Hennes
56d900c669 Spreadsheet: Display new value, or pending, when dirty
If recomputes are turned off, the old behavior was that a cell would
display its old property value in the SheetView. The new behavior is
that we check to see if the value is actually something that gets
computed: if so, show "#PENDING". If not, display the new value, but
format it specially to indicate that it's been changed and that
a recompute is (eventually) needed.
2021-11-03 09:23:43 -05:00
Chris Hennes
123b5b5da1 Spreadsheet: Remove double-set of value on enter 2021-11-02 23:12:31 -05:00
Bernd Hahnebach
7542673b00 FEM: command module, fix regression in the regard of translation added with 5b52840ca5 2021-11-02 17:43:41 +01:00
Chris Hennes
0d511a6dd2 Spreadsheet: Fix bug in content and alias lineedits
The two line edit widgets above the spreadsheet, one for exiting the
cell contents and one for editing the alias, were set to use the same
editing widget as the individual spreadsheet cells. Once that widget was
refactored to handle tab/enter behavior it was no longer the correct
widget for those elements. This commit changes them to
Gui::ExpressionLineEdit widgets instead, so that the Enter key works
correctly for them again.
2021-11-02 10:15:19 -05:00
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
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
ba2459cddc [Spreadsheet] Fix missing header context menu 2021-10-31 23:38:11 -05: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
Zheng, Lei
a2fb4a5d6d Minor code change according to suggestions 2021-10-30 12:30:45 +08:00
Zheng, Lei
414ea71a28 Part: fix unnecessary document 'modified' status 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
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
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
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
Tomas Pavlicek
345dcd5252 [Gui] Issue #3923 - Arbitrary Tree item ordering + tests 2021-10-26 19:09:34 +02:00
wmayer
b60ed6140f Spreadsheet: [skip ci] update translation 2021-10-26 17:40:48 +02:00
wmayer
c2fdeae7aa Spreadsheet: [skip ci] add sub-menu text for translation 2021-10-26 17:40:21 +02:00
Bernd Hahnebach
8f9ea8701d Arch: import IFC, Layers, do not overwrite the imported object color and line color with the default layer values 2021-10-26 16:42:07 +02:00
luz paz
f3631c8ff1 PD: Expose missing commands to translation in Measure dropdown menu
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/6
2021-10-26 10:35:21 -04:00
Bernd Hahnebach
ea355833fd Arch: import IFC, fix new preference for not importing Layer 2021-10-26 14:02:58 +02:00
Bernd Hahnebach
fc14f67bf6 Arch: import IFC, add preference to not import Layer 2021-10-26 13:52:50 +02:00
Bernd Hahnebach
0685afec7f Arch: import IFC, some comments 2021-10-26 12:36:37 +02:00
Bernd Hahnebach
326157cae8 Arch: import IFC, materials, improve code but no changes on what is done 2021-10-26 12:25:51 +02:00
Bernd Hahnebach
55851e93eb Arch: import IFC, fix merge material preference import 2021-10-26 11:24:12 +02:00
Yorik van Havre
13cd1c23ec Merge pull request #5119 from Roy-043/Draft-Fix-Draft_SelectPlane-ignores-nesting
Draft: Fix Draft_SelectPlane ignores nesting
2021-10-25 14:16:44 +02:00
Yorik van Havre
5fcd97b1c6 Merge pull request #5124 from Roy-043/Draft-Fix-snap-cycling-if-length-has-focus
Draft: Fix snap cycling if length input has focus
2021-10-25 14:15:13 +02:00