Commit Graph

20542 Commits

Author SHA1 Message Date
Chris Hennes
bdd600ba6e 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
34fdcd1a61 Spreadsheet: Remove double-set of value on enter 2021-11-02 23:12:31 -05:00
Bernd Hahnebach
1167babc66 FEM: command module, fix regression in the regard of translation added with 277b71b53894aa 2021-11-02 17:43:41 +01:00
Chris Hennes
1d8a9a86a4 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
eacca01b8e 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
dfa8bbc8e0 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
7c7b30e79d [Spreadsheet] Fix missing header context menu 2021-10-31 23:38:11 -05:00
Chris Hennes
8aa06d30b2 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
9accfca831 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
3cdfe38978 Merge pull request #4952 from realthunder/FixDocumentRestore
Fix external document loading
2021-10-31 10:36:12 -05:00
wmayer
ad458c423a 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
6427afbe6c 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
e4851a11b4 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
95a0c9c008 Add requested revision by @chennes
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-10-30 15:20:28 -04:00
luzpaz
005a5d8cd7 Add requested revision by @chennes
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-10-30 15:20:28 -04:00
luz paz
b90fefa1ca Refined code formatting for uniformity 2021-10-30 15:20:28 -04:00
luzpaz
fa7ea019f8 Add requested revision by @chennes
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-10-30 15:20:28 -04:00
luz paz
8aab47fb06 Draft: Fix superfluous whitespace in translations + misc. typos 2021-10-30 15:20:28 -04:00
wmayer
42174a7b13 Part: in ViewProviderSpline use the ViewProviderSplineExtension to avoid code duplication 2021-10-30 17:57:52 +02:00
wmayer
4d7f2ef6e5 Part: [skip ci] include PartGlobal.h in ViewProviderExt.h 2021-10-30 17:57:11 +02:00
wmayer
91aa308cba Part: [skip ci] add PartGlobal.h with export/import macros 2021-10-30 17:29:11 +02:00
Zheng, Lei
c349e78f45 Minor code change according to suggestions 2021-10-30 12:30:45 +08:00
Zheng, Lei
39e2381f29 Part: fix unnecessary document 'modified' status 2021-10-30 11:02:39 +08:00
Uwe
188b138545 Merge branch 'master' into PDEdit 2021-10-30 00:30:14 +02:00
wmayer
5583a42c07 Unit test: [skip ci] gimbal lock 2021-10-29 20:02:09 +02:00
0penBrain
ffa6b3ce5e [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
84c517e333 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
b3bdf5967b Sketcher: [skip ci] handle coincident points when trying to create arc/circle 2021-10-28 17:03:11 +02:00
Bernd Hahnebach
67a7f038bf Arch: import IFC, Materials, make merge materials working on duplicate label setting 2021-10-28 16:02:06 +02:00
Bernd Hahnebach
b679c15164 Arch: import IFC, Material, small improvement, no changes 2021-10-28 15:45:15 +02:00
Bernd Hahnebach
5be99d7469 Arch: import IFC, Materials, small code improvements, no changes 2021-10-28 15:43:35 +02:00
Bernd Hahnebach
5f8422e7ea Arch: import IFC, use doc identifier instead of FreeCAD.ActiveDocument 2021-10-28 09:49:51 +02:00
Bernd Hahnebach
636be32ec0 Arch: IFC export and import, some code formating (only very clearly ones) 2021-10-27 23:10:01 +02:00
Roy-043
d019e28c08 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
6d6559e99c Arch: import IFC, replace project, comment debug print 2021-10-27 08:17:48 +02:00
luz paz
e780af1184 Arch: add missing paranthesis to strings
Found while approving translations in crowdin
2021-10-26 22:24:38 +02:00
Bernd Hahnebach
c581a5b3dc Arch: import IFC, fix import if replace project and only one building or one storey 2021-10-26 22:18:37 +02:00
wmayer
f275893f5f Spreadsheet: [skip ci] update translation 2021-10-26 17:40:48 +02:00
wmayer
82d147b0a3 Spreadsheet: [skip ci] add sub-menu text for translation 2021-10-26 17:40:21 +02:00
Bernd Hahnebach
6ac93003ee 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
d917e65c99 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
8c3c9d4a1c Arch: import IFC, fix new preference for not importing Layer 2021-10-26 14:02:58 +02:00
Bernd Hahnebach
5bb0ffe0e4 Arch: import IFC, add preference to not import Layer 2021-10-26 13:52:50 +02:00
Bernd Hahnebach
433929490e Arch: import IFC, some comments 2021-10-26 12:36:37 +02:00
Bernd Hahnebach
bddce5f082 Arch: import IFC, materials, improve code but no changes on what is done 2021-10-26 12:25:51 +02:00
Bernd Hahnebach
cf64ff763e Arch: import IFC, fix merge material preference import 2021-10-26 11:24:12 +02:00
Yorik van Havre
0b7018ce64 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
3262b13751 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
wmayer
87169c8119 Mesh: embed Evaluation dialog into a scroll area 2021-10-24 21:36:44 +02:00
wmayer
505e8564b2 Mesh: Mesh.createBox() now accepts a bounding box as argument 2021-10-23 18:58:43 +02:00