Commit Graph

809 Commits

Author SHA1 Message Date
wmayer
9a8a1795fb Mesh: fix (Qt) issues found by clang's clazy tool 2022-06-30 13:14:03 +02:00
mosfet80
c86f0ce670 Remove old msc ver. Freecad 0.20 require 64 bit and windows 7 or higher. For this reason, msc libraries less than 1800 will no longer be used. (#7036)
* remove msc<1800
2022-06-28 00:42:33 +02:00
wmayer
f5235a8057 cppcoreguidelines-pro-type-union-access
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
 Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
Yorik van Havre
4c34ae7398 Merge pull request #7067 from Kuzma30/add_ts
Crowdin Add "new" WB to translations.
2022-06-24 13:50:43 +02:00
marioalexis
74c168a082 Mesh: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04: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
ca93124421 [Meh] Core: remove unnecessary Boolean comparisons - part 2/2 2022-06-19 18:22:22 +02:00
Uwe
1b73fbf645 [Meh] Core: remove unnecessary Boolean comparisons - part 1 2022-06-19 18:12:56 +02:00
Uwe
c78775163e [Meh] Gui: remove unnecessary Boolean comparisons 2022-06-19 18:00:46 +02:00
wmayer
c856e8a13b Mesh: fixes #7018: 3mf created with FreeCAD cannot be loaded with PrusaSlicer 2022-06-14 18:55:05 +02:00
wmayer
b350f338b5 Mesh: fixes #6902: Conda test errors 2022-06-14 11:32:07 +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
wmayer
939fc77b39 Mesh: [skip ci] add 3mf format to export dialog 2022-05-26 10:51:43 +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
eaaed0d81c Mesh: [skip ci] use const-reference when iterating over list 2022-05-17 15:52:43 +02:00
wmayer
5b2d712ffe Mesh: improve OBJ import by allowing arbitrary names for the mtllib file 2022-05-17 15:02:59 +02:00
wmayer
a138706ed4 Mesh: replace several reinterpret_cast with static_cast 2022-05-17 14:33:44 +02:00
Yorik van Havre
d0617ca189 Merge pull request #6896 from FreeCAD/mesh-initpy
Mesh: fix pep8 related issues in Init.py
2022-05-17 13:40:00 +02:00
wmayer
a2c24122c0 Mesh: modernize MeshIO classes 2022-05-17 12:20:22 +02:00
wmayer
79d6e85e6f Mesh: implemented recommended move constructor and move assignment for Point3d 2022-05-17 11:55:33 +02:00
wmayer
abc5413b34 Mesh: avoid problematic const_cast 2022-05-17 11:54:11 +02:00
wmayer
6a3281438f Mod: whitespace fixes 2022-05-17 11:51:22 +02:00
luz paz
d4adc5893a Mesh: fix pep8 related issues in Init.py
Added `import FreeCAD`
Added missing whitespace after commas
Removed DOS line endings
2022-05-16 16:44:00 -04: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