Commit Graph

38062 Commits

Author SHA1 Message Date
ppphp
51c6dbd3e3 fix unique ptr usage in sketch (#15008)
* fix unique ptr usage in sketch

* [pre-commit.ci] auto fixes from pre-commit.com hooks
2024-07-08 10:53:49 -05:00
Chris Hennes
24c7d3ef25 Sketcher: Switch SnapManager from Win-1252 to UTF-8 2024-07-08 17:51:33 +02:00
PaddleStroke
cef87b5642 Sketcher: BSpline DSH: Fix crash: If you create new sketch, start bspline tool and change mode, it would crash. It's because it was doing a abortCommand before the command was opened. So it cancelled the create sketch command. 2024-07-08 10:50:33 -05:00
hlorus
cd84304b67 Measure: Pass last object in subobject list to getTopoShape 2024-07-08 10:42:44 -05:00
PaddleStroke
6a309e889e Sketcher: BSpline: Fix crash when cancelled while only one point with autoconstraint. 2024-07-08 10:41:11 -05:00
wmayer
1eaf89b485 Sketcher: Handle PyException in createGeneratedAutoConstraints
Command::doCommand may throw an exception that isn't handled by the active sketch handler. This may leave it in an inconsistent state and can cause a crash later.

See #14945
2024-07-08 10:40:04 -05:00
PaddleStroke
6640815c4d Assembly: Enable Insert Component taskbox to grow when more items are added. 2024-07-08 10:39:07 -05:00
Chris Hennes
99d63a9693 cMake: Fix extra copy line for printsupport plugins 2024-07-08 08:44:18 -05:00
Chris Hennes
c934a4bd64 cMake: Remove use of Core5Compat from Qt6 2024-07-08 11:59:09 +02:00
mosfet80
8d8ce96f8e [Mod:overlay] clean Overlay.cpp
Deleted dead code.
2024-07-08 11:58:51 +02:00
mosfet80
99983a86b8 [Mod] clean GLGraphicsView.cpp
Removed dead code
2024-07-08 11:58:13 +02:00
mosfet80
dfe0c5d4ee clean [Robot] Command.cpp
removed unnecessary code
2024-07-07 11:27:21 +02:00
wandererfan
4d90e1655a [TD]fix display of spreadsheet cells with no horiz alignment 2024-07-06 18:51:59 -04:00
wandererfan
03db773181 [TD]fix multiselect handling of non-geometry objects 2024-07-06 12:49:18 -04:00
wandererfan
3ddddc375c [TD]fix default for KeepLabel 2024-07-06 12:49:18 -04:00
wandererfan
7d8df6cd55 [TD]fix default line width on empty config 2024-07-06 12:49:18 -04:00
wandererfan
d98aa70d0e [TD]fix camera/front buttons on Proj Group dialog 2024-07-06 12:49:18 -04:00
Max Wilfinger
ef568314fd fix TechDraw .svg autofill and editable tags 2024-07-06 09:42:15 -04:00
FEA-eng
f14498727b FEM: Update exportNastranMesh.py 2024-07-06 14:01:11 +02:00
wmayer
561e521817 MSVC: Fix warning C4005: 'NOMINMAX': macro redefinition 2024-07-05 17:04:43 +02:00
wmayer
dd71f4d5db PD: Remove dead code from workbench class 2024-07-05 15:32:52 +02:00
wmayer
7ab2b92fc8 Gui: Don't show Python console by default
Fixes #15201
2024-07-05 14:56:37 +02:00
FEA-eng
a77d6b8a38 PD: Update Workbench.cpp 2024-07-05 12:09:04 +02:00
wmayer
7a9fd501c3 PD: Reformat TaskThicknessParameters 2024-07-04 22:24:15 +02:00
wmayer
610e1d67ad PD: Refactor TaskThicknessParameters 2024-07-04 22:24:15 +02:00
wmayer
7c0ecac580 PD: Fix linter warnings in TaskThicknessParameters 2024-07-04 22:24:15 +02:00
wmayer
0af1ec2cf3 PD: Do not set hard-coded maximum for thickness parameter
Fixes #15140: Thickness value Task panel issue
2024-07-04 22:24:15 +02:00
wmayer
aac8bdd7bc Fixes #14772: Random color problem 2024-07-04 22:23:10 +02:00
wmayer
3666215f8b Mesh: Do one import per line for the recorded macro 2024-07-04 22:22:28 +02:00
wmayer
535faeb297 Mesh: Use a lower threshold for the MeshPart_SectionByPlane command
See forum: https://forum.freecad.org/viewtopic.php?t=88734
2024-07-04 22:22:28 +02:00
wmayer
876e88f405 Gui: Fix crash in QuarterWidgetP::removeFromCacheContext
Fixes #https://github.com/FreeCAD/FreeCAD/issues/14988
2024-07-04 22:21:44 +02:00
wmayer
f5a87bc620 Spreadsheet: Fix SheetPython::getViewProviderName() to return the correct type name
For more details see: https://forum.freecad.org/viewtopic.php?t=88642
2024-07-04 22:21:03 +02:00
wmayer
30d8a74ce7 Gui: Fix crash when trying to calibrate image after document is closed 2024-07-04 22:19:42 +02:00
wmayer
0e8752448b Start: Make the Start Page a passive view
Do not attach the Start Page to an existing document as otherwise weird behaviour can be observed:
1. Start FreeCAD
2. Open a project file or data file
3. Open the Start Page
4. Make a change to the document
5. Close the document. You won't be asked to save your change
6. In the tree view the document is still shown because the Start Page is attached to the document
7. Close the Start Page. Now you will be asked to save your change
2024-07-04 22:18:42 +02:00
wmayer
858e59fabf Sketcher: Fix format string in ExternalGeometryFacade::initExtensions()
The format string of the warnings were incorrect and caused an fmt::format_error exception
2024-07-04 22:05:22 +02:00
Roy-043
a3cc73ce15 Draft: fix Draft_Shape2DView warnings
Fixes #15144.
2024-07-04 09:11:10 +02:00
wmayer
fdfffbcc9e TD: Fix DrawViewCollection::unsetupObject()
Assigning a null pointer to a std::string causes a failure
2024-07-03 09:07:17 -04:00
Jookia
04cc890fd0 StartView: Escape file paths when loading 2024-07-02 08:31:59 -05:00
Yorik van Havre
0f462500d9 BIM: Fixed ifcopenshell version detection 2024-07-02 15:24:45 +02:00
Yorik van Havre
9b390fa78e BIM: Check for pip when running IfcOpenShell update - fixes #14499 2024-07-02 15:24:45 +02:00
Yorik van Havre
ba456aa925 BIM: Fixed bug in IfcExplorer tool - fixes #14422sdfg 2024-07-02 15:24:10 +02:00
Yorik van Havre
e2e8f39ea9 BIM: Renamed file to avoid confusion with 0.21 BIM addon 2024-07-02 15:23:37 +02:00
Chris Hennes
7615c39824 Merge pull request #15051 from kadet1090/better-addon-manager-discoverability
Gui: Add information about custom themes to settings
2024-07-02 07:44:21 -05:00
Yorik van Havre
2a009589f9 Translations (#15107)
* Updated ts files

* Merged crowdin translations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-02 12:21:53 +02:00
marcuspollio
baaf586772 techdraw-PageDefault update 2024-07-02 11:27:54 +02:00
marcuspollio
1100794842 update following feedback 2024-07-02 11:27:54 +02:00
marcuspollio
7841225737 BIM: update some icons
Following recent changes in other WBs and also for better readability and consistency.
2024-07-02 11:27:54 +02:00
Roy-043
f82eef7533 Use the _finish function in case of cancel as well 2024-07-02 10:40:48 +02:00
Roy-043
5e95bb788a BIM: Fix BIM_Box command
Fixes #14823.

Depending on the order and location of the picked points, the Placement of the Box could be unexpected. The Height value was always positive if points were picked, a negative Height entered in the input box would lead to errors.

Additonally:
* Avoided some code duplication.
* Added a proper transaction to make the command undoable.
2024-07-02 10:40:48 +02:00
Yorik van Havre
c79a5665ec Fixed license 2024-07-02 10:02:10 +02:00