Commit Graph

452 Commits

Author SHA1 Message Date
marioalexis
6dc262d44c Mesh: Replace C cast 2022-09-18 11:06:51 -05:00
wmayer
a566edfa43 Mesh: implemment mechanism to load MeshGui module when exporting to 3MF file 2022-09-14 12:05:32 +02:00
wmayer
10d6a90be5 Mod: [skip ci] fix some MSVC warnings 2022-09-05 13:45:22 +02:00
wmayer
c4b12d61c5 Mesh: [skip ci] fix minor issues 2022-09-02 13:37:24 +02:00
wmayer
8f1875f429 Mesh: add support of thumbnails of 3MF format 2022-09-01 16:49:00 +02:00
wmayer
f0ebcde942 Mesh: modernize C++: replace 'typedef' with 'using' 2022-08-29 18:30:53 +02:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
Jonas Bähr
46cee50bd5 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 f4411478d106ba9f4827754a50efa53bd7767a66
- Image: commit e3476815c04c571199779bd1e444b950e6398025
- Import: commit b7b264e52c8fd97e83987c4ce42ce563170c8918
- Inspection: commit 1f64d8b1b8fcabe983c6e5e624d65766b4429ea0
- Mesh: commit 5a8fed0720d681cdbb9fedc840d2532c4f2f6042
- Part: commit 26bb65f11f4b51e5e47b65b2d6049ece10705a83
- PartDesign: commit f4e49f2aecf08f2337e84510ed019b7fa4b685a3
- Path: commit e3d9cc98577d2073297d55ffd8de28dd50f8444c
- Points: commit 09f3e867cdccd31294cced4e3c73015d3add3f4a
- Raytracing: commit 7b92dedc53f09e2ce8365408f3003e5700aebfc8
- ReverseEnginering: commit eeacc51ad0cd82e5f17d63207f78f79eb20bf9a9
- Robot: commit 4d06684cbd0328e4f43c78b5dab7e7fcebab148d
- Sketcher: commit 079125665495a08a7e2e2a4f01da406128dca625
- Spreadsheet: commit 514097954e95c04a7ec9d7e8ec1afc3aac3dd8d
- Start: commit 2ea2bb0dc393d7b8b41e9137c6d4ae40ce29719d
- Surface: commit 272268dd6c0b460ae9aeecdf371495ea26aa044d
- TechDraw: commit c70fdc3e0aa6b409626a6fa6b7266d05f3338c6d
- Test: commit 49a07b121e08e9bf3fef0f414a8da5602533592e
- Web: commit a93a23d7e4da13b2d5c37ac087b2dcf41aae197d
2022-08-24 07:40:04 +02:00
wmayer
c87e1cc1c2 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
berniev
53ba98d636 Mod: use empty 2022-08-06 19:30:13 +02:00
wmayer
54a0f44b81 Mesh: implement smoothing based on median filter 2022-08-06 16:08:20 +02:00
berniev
47ac049e14 Mod: use emplace_back 2022-08-05 10:36:16 +02:00
wmayer
df8e0a55cc 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
2bde1e6923 [Mesh] remove superfluous nullptr checks 2022-07-18 02:37:33 +02:00
wmayer
9a8a1795fb Mesh: fix (Qt) issues found by clang's clazy tool 2022-06-30 13:14:03 +02:00
Kuzemko Alexsandr
b99ccc6193 Crowdin Update .ts files with current source. 2022-06-21 17:31:06 +03:00
wmayer
9d0c787f03 Mesh: replace boost::bind with std::bind 2022-06-21 15:23:47 +02:00
wmayer
8a81ff174b Mesh: reduce the use of const_cast in Mesh module 2022-06-21 12:20:37 +02:00
Uwe
c78775163e [Meh] Gui: remove unnecessary Boolean comparisons 2022-06-19 18:00:46 +02:00
Yorik van Havre
05301abfcb Merged crowdin translations 2022-06-12 11:56:37 +02:00
Yorik van Havre
3af0623431 Merged crowdin translations 2022-06-10 11:03:57 +02:00
Yorik van Havre
56264248eb Merged crowdin translations 2022-06-09 13:40:35 +02:00
wmayer
97806748a0 Mesh: [skip ci] improve German translation 2022-06-09 12:56:43 +02:00
Yorik van Havre
6d479e6cda Generated ts files 2022-06-08 12:32:59 +02:00
Yorik van Havre
d2f8b7d4e3 Merged crowdin translations 2022-06-08 12:28:54 +02:00
Yorik van Havre
80982cf87b Merged crowdin translations 2022-06-07 13:34:53 +02:00
Kuzemko Alexsandr
80967344c5 Crowdin Run update.ts with latest source code. 2022-06-07 13:15:44 +03:00
Yorik van Havre
1488714a0f Merged crowdin translations 2022-06-03 11:26:35 +02:00
Chris Hennes
2c6dcd960e i18n: Update TS files to ensure Python files are included 2022-06-02 14:57:49 -05:00
Chris Hennes
861233e7f2 i18n: TS files generated by lupdate 6.4.0dev 2022-06-02 13:41:37 -05:00
Kuzemko Alexsandr
c1637ce03a [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
9cbe14f1d5 Merged crowdin translations 2022-05-30 10:01:02 +02:00
Yorik van Havre
047b15cfe5 merged crowdin translations 2022-05-28 12:16:47 +02:00
Yorik van Havre
2dffe82cda Merged crowdin translations 2022-05-27 11:28:55 +02:00
Kuzemko Alexsandr
c266f16c53 Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
wmayer
f2ae822add Mesh: [skip ci] change icon Mesh_EvaluateFacet.svg 2022-05-20 11:03:07 +02:00
wmayer
c4034cf66e Mesh: [skip ci] add missing icon Mesh_Pipette.svg 2022-05-19 20:07:04 +02:00
wmayer
cad6882025 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
a138706ed4 Mesh: replace several reinterpret_cast with static_cast 2022-05-17 14:33:44 +02:00
Chris Hennes
aaf17076d4 Mesh: Add missing toolbar translation strings 2022-05-08 17:02:41 -05:00
Yorik van Havre
996994da55 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
a62092d498 Updated ts files 2022-05-05 15:20:57 +02:00
luz paz
9529fccf86 Mesh: fix grammatical issue in console message string
[skip ci]
2022-05-01 23:19:40 +02:00
wmayer
9343583bcb Mesh: handle exceptions when running FreeCAD in headless mode 2022-04-28 12:58:58 +02:00
Zheng, Lei
8bec44934b Fix mixed line endings 2022-04-26 12:52:55 -05:00
Yorik van Havre
1fbd1fb38d Merged crowdin translations 2022-04-21 14:18:33 +02:00
Yorik van Havre
914069ded4 merged crowdin translations 2022-04-13 13:47:06 +02:00
wmayer
259cf03b25 Fem/Mesh: force update of shape nodes when changing the transparencies of a color plot 2022-04-01 16:40:34 +02:00