Commit Graph

452 Commits

Author SHA1 Message Date
marioalexis
9eadb9fbc5 Mesh: Replace C cast 2022-09-18 11:06:51 -05:00
wmayer
b5e8a2c28d Mesh: implemment mechanism to load MeshGui module when exporting to 3MF file 2022-09-14 12:05:32 +02:00
wmayer
f35f77e98e Mod: [skip ci] fix some MSVC warnings 2022-09-05 13:45:22 +02:00
wmayer
01c3f1b636 Mesh: [skip ci] fix minor issues 2022-09-02 13:37:24 +02:00
wmayer
086ce2d34c Mesh: add support of thumbnails of 3MF format 2022-09-01 16:49:00 +02:00
wmayer
fd4e2c967b Mesh: modernize C++: replace 'typedef' with 'using' 2022-08-29 18:30:53 +02:00
berniev
6953310116 Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
Jonas Bähr
a1776d3e74 Fix build on MacOS-X 10.14: missing Xerces include dir
This undoes most of the Xerces related part of the commits listed below.
The issue resolved here is that the Xerces include dir *is* set in the
CMakeLists.txt of src/Base, but it got removed from various App and Gui
dirs in src/Mod. If those now include a header from src/Base, which
itself includes xercesc, the build fails using Apple clang version 11.0.0
(clang-1100.0.33.17) on Mojave, configured using cmake 3.22.1, with
errors like the following:

In file included from .../src/Mod/Part/App/FeaturePartBoolean.cpp:34:
In file included from .../src/App/Application.h:33:
.../src/Base/Parameter.h:54:10: fatal error: 'xercesc/util/XercesDefs.hpp' file not found
 #include <xercesc/util/XercesDefs.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Finally, a full list of the commits that introduced this spurious include
dir optimization for reference:
- Drawing: commit 96ad045b91
- Image: commit dde71a21d5
- Import: commit c9d28b542f
- Inspection: commit d41f55f382
- Mesh: commit 19072b0538
- Part: commit fe213a48f0
- PartDesign: commit b037d8e240
- Path: commit f23fa31f42
- Points: commit bec723ba17
- Raytracing: commit 08d4ac63a3
- ReverseEnginering: commit 5ca787cb0e
- Robot: commit bad4809a1c
- Sketcher: commit 3c96daf105
- Spreadsheet: commit 66e8a2bef3
- Start: commit c9dee5e70a
- Surface: commit 6b04215be6
- TechDraw: commit 5e6699e48d
- Test: commit ea5b45b92c
- Web: commit ee6d631531
2022-08-24 07:40:04 +02:00
wmayer
2062f9ce87 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
berniev
b796a0d376 Mod: use empty 2022-08-06 19:30:13 +02:00
wmayer
a00faca147 Mesh: implement smoothing based on median filter 2022-08-06 16:08:20 +02:00
berniev
2d4c5a4cfb Mod: use emplace_back 2022-08-05 10:36:16 +02:00
wmayer
45f534bc32 Mesh: Fix several clazy issues:
* Use multi-arg instead [-Wclazy-qstring-arg]
* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Using copy-ctor but class SbMatrix has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
2022-07-25 01:14:40 +02:00
Uwe
2d2ad11e14 [Mesh] remove superfluous nullptr checks 2022-07-18 02:37:33 +02:00
wmayer
317c6afd45 Mesh: fix (Qt) issues found by clang's clazy tool 2022-06-30 13:14:03 +02:00
Kuzemko Alexsandr
e678620cbd Crowdin Update .ts files with current source. 2022-06-21 17:31:06 +03:00
wmayer
e7a9081097 Mesh: replace boost::bind with std::bind 2022-06-21 15:23:47 +02:00
wmayer
0a4488462c Mesh: reduce the use of const_cast in Mesh module 2022-06-21 12:20:37 +02:00
Uwe
1a346722f8 [Meh] Gui: remove unnecessary Boolean comparisons 2022-06-19 18:00:46 +02:00
Yorik van Havre
baa1105a53 Merged crowdin translations 2022-06-12 11:56:37 +02:00
Yorik van Havre
19ffd1ca94 Merged crowdin translations 2022-06-10 11:03:57 +02:00
Yorik van Havre
68e8c19aaf Merged crowdin translations 2022-06-09 13:40:35 +02:00
wmayer
e5fb5a6f27 Mesh: [skip ci] improve German translation 2022-06-09 12:56:43 +02:00
Yorik van Havre
2e4dcfc22a Generated ts files 2022-06-08 12:32:59 +02:00
Yorik van Havre
b06f247f9f Merged crowdin translations 2022-06-08 12:28:54 +02:00
Yorik van Havre
b9b21ddac5 Merged crowdin translations 2022-06-07 13:34:53 +02:00
Kuzemko Alexsandr
eff8ecaafc Crowdin Run update.ts with latest source code. 2022-06-07 13:15:44 +03:00
Yorik van Havre
e8f1bde367 Merged crowdin translations 2022-06-03 11:26:35 +02:00
Chris Hennes
34502193a2 i18n: Update TS files to ensure Python files are included 2022-06-02 14:57:49 -05:00
Chris Hennes
d540de8bee i18n: TS files generated by lupdate 6.4.0dev 2022-06-02 13:41:37 -05:00
Kuzemko Alexsandr
d920a5bf4d [Mesh] Add ability to translate
This fix https://github.com/FreeCAD/FreeCAD-translations/issues/53
2022-05-31 12:01:02 +02:00
Yorik van Havre
d3d96816ce Merged crowdin translations 2022-05-30 10:01:02 +02:00
Yorik van Havre
8676d67a87 merged crowdin translations 2022-05-28 12:16:47 +02:00
Yorik van Havre
1e034cc47f Merged crowdin translations 2022-05-27 11:28:55 +02:00
Kuzemko Alexsandr
b903e949ae Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
wmayer
7d6243d696 Mesh: [skip ci] change icon Mesh_EvaluateFacet.svg 2022-05-20 11:03:07 +02:00
wmayer
f16f617dc8 Mesh: [skip ci] add missing icon Mesh_Pipette.svg 2022-05-19 20:07:04 +02:00
wmayer
a5ff515804 Mesh: issue #6131: Colors set prior to saving aren't retained when re-opening file
Note: A mesh feature must have a PropertyColorList property with the name FaceColors or VertexColors. The colors won't be set when loading a project but in the context-menu there is the function 'Display colors'
2022-05-17 16:43:53 +02:00
wmayer
f1025b1448 Mesh: replace several reinterpret_cast with static_cast 2022-05-17 14:33:44 +02:00
Chris Hennes
44540a4d82 Mesh: Add missing toolbar translation strings 2022-05-08 17:02:41 -05:00
Yorik van Havre
0680ad5558 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
ab5a6d83a1 Updated ts files 2022-05-05 15:20:57 +02:00
luz paz
21d0e10367 Mesh: fix grammatical issue in console message string
[skip ci]
2022-05-01 23:19:40 +02:00
wmayer
0d0bd1168b Mesh: handle exceptions when running FreeCAD in headless mode 2022-04-28 12:58:58 +02:00
Zheng, Lei
3ef438eaf0 Fix mixed line endings 2022-04-26 12:52:55 -05:00
Yorik van Havre
a4a0d11eca Merged crowdin translations 2022-04-21 14:18:33 +02:00
Yorik van Havre
35bb6278ea merged crowdin translations 2022-04-13 13:47:06 +02:00
wmayer
d36c59b3dc Fem/Mesh: force update of shape nodes when changing the transparencies of a color plot 2022-04-01 16:40:34 +02:00