Wanderer Fan
f90660eb12
[TD]fix handling of translated enumeration
2022-05-17 20:04:19 -04: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
wmayer
9a7629fccf
Points: fix round-off errors in pcd export
2022-05-17 11:48:58 +02:00
wmayer
4ea3c8678b
Test: [skip ci] test matrix element order
2022-05-17 11:47:40 +02:00
wmayer
72e464b1cc
Conda: ssize_t is a POSIX type and thus not necessarily defined on Windows. Currently this causes build failures with Conda + Py3.10.
...
The solution is to get rid off all occurrences of ssize_t in FreeCAD code
2022-05-17 11:43:40 +02:00
Yorik van Havre
bed5bc053a
Draft: Prevented error when grid size is zero - issue #5427
2022-05-17 10:58:10 +02:00
Yorik van Havre
6150c61d62
Draft: Fixed qt connect style - fixes #6879
2022-05-17 09:58:56 +02:00
wmayer
7e7d368bba
Import: fixes #5793 : DXF export (Autodesk DXF 2D type) doesn't add any UNITS field inside the dxf file
2022-05-17 02:41:02 +02:00
luz paz
ad067cdf7e
[TestWB] fix source comment typo in
...
[skip ci]
2022-05-17 02:28:47 +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
3aa2920e33
Draft: fix SVG rotation around non-origin center
...
Fixes #6869
2022-05-16 11:10:04 -05:00
wmayer
34b0fc7a42
Gui: use Py_ssize_t instead of ssize_t in AbstractSplitViewPy::sequence_item
2022-05-16 14:54:18 +02:00
marioalexis
88fb277481
Gui: Fix crash when invoke command with sMenuText equal to nullptr
2022-05-16 13:47:29 +02:00
marioalexis
3215c8a426
Gui: Improve docstrings in CommandPy.xml
2022-05-16 13:46:24 +02:00
wmayer
4393dfae8c
Test: [skip ci] unit test for Commands related to PR #6889
2022-05-16 13:33:32 +02:00
Yorik van Havre
d85cea7e7d
Arch: fixed window for good this time
2022-05-16 13:21:52 +02:00
wmayer
f4a0387dc9
Test: unit test for sub-objects related to PR #6888
2022-05-16 11:29:18 +02:00
Zheng, Lei
a506827d39
App: Fix Origin::extensionGetSubObject()
2022-05-16 11:27:35 +02:00
Yorik van Havre
c72d865b6e
Arch: Fixed mistake in last commit
2022-05-16 10:42:09 +02:00
wmayer
4107b00781
Sketch: fixes #6890 : Problem with Grid size preference
2022-05-16 10:18:42 +02:00
Yorik van Havre
b4ee9b62ae
Arch: Fixed default component type for new windows
2022-05-16 09:34:14 +02:00
kaktus Jacek
9b7bfb334c
Update the qrc file list to the latest QT file import (QT5 files update for Polish language)
...
The file translation.qrc had to be updated as well, which was not done
This time the qrc file also contains an update.
2022-05-15 10:28:04 +02:00
Uwe
0c311af109
Win installer: prepare for a beta build
2022-05-15 05:32:46 +02:00
Uwe
17a72ec54f
update to Windows SDK 10.0.19041.0
...
because Qt 5.15.3 requires this SDK version too
done in preparation of FC 0.20 that will use Qt 5.15.3 as default for Windows
2022-05-15 04:14:15 +02:00
wmayer
fbb992b578
Test: unit test for sub-objects related to PR #6838
2022-05-14 16:32:19 +02:00
wmayer
8353338db5
App: fix DocumentObjectPy::getSubObject:
...
* do not set pyMat to Py_None by default but nullptr and do type check in PyArg_ParseTupleAndKeywords
* if refType is out of range raise a ValueError instead of TypeError
* replace (undocumented) magic numbers with an enum class
* implement a lambda function to avoid code duplication
* fix bug for retType=3 or retType=4 if subname is a list of strings
2022-05-14 15:54:27 +02:00
Zheng, Lei
9a393e2b70
App: fix Origin getSubObject()
2022-05-14 14:02:21 +02:00
kaktus Jacek
f9df88f0a0
add Qt5 translation files
...
QT5 files update for Polish language
The files contain updated translations and a new standard
https://github.com/FreeCAD/FreeCAD/issues/6875
https://github.com/qt/qttranslations/blob/dev/translations/qt_pl.ts
2022-05-14 13:06:29 +02:00
Wanderer Fan
61526b83fc
[TD]mark literals for translation
2022-05-13 13:41:37 -04:00
Wanderer Fan
e937e4b97f
[TD]Fix group item moving when locked
2022-05-13 13:41:37 -04:00
sliptonic
28fd7d0ce8
Merge pull request #6703 from Russ4262/fix/extensions_size_update
...
Path: Fix extensions updates and Default Length application [Bug]
2022-05-13 09:08:49 -05:00
wmayer
9bcac09611
Part: std::unique_ptr is provided by the memory header
2022-05-12 17:52:52 +02:00
wmayer
09fffbb54d
Part: reorder headers in PreCompiled.h
2022-05-12 17:50:33 +02:00
wmayer
bec323b793
Base: cosmetic changes
2022-05-12 17:49:55 +02:00
Uwe
3487594a96
[Gui] Navigation preferences: fix #6875
...
- as requested by the translators, give a label more space
(the massive changes in the UI file could not be avoided despite the change is just to put the label into another layout column)
2022-05-12 12:37:59 +02:00
Uwe
b60bd550f9
[skip CI] [Gui] NaviCube.cpp revert a change
...
from commit cb5e316a708f since the intended fix is not universal for all cube sizes, therefore leave the old pen width as compromise that obviously worked well
(as strange as it is, restarting FC brings me everytime a different border width)
2022-05-12 06:43:29 +02:00
Uwe
6d4776e32c
[skip CI] [Gui] NaviCube.cpp code cleanup
...
- fix a typo
- uniform a variable name
- style and whitespace fixes by MSVC
2022-05-12 06:37:12 +02:00
Uwe
27a13fb67d
[Gui] NaviCube: fix #6689
...
- this is almost #6848 plus some changes suggested by @Jolbas in #6839 to get rid of some magic numbers
changes to:
- the default border width of 1.5 looked clumsy, therefore reduced to 1.1
- fix pen for SHAPE_CORNER (still not optimal, see comment in #6839 )
2022-05-12 05:55:48 +02:00
Wanderer Fan
031bca185d
[TD]fix dimension special characters
2022-05-11 14:16:56 -04:00
Wanderer Fan
b9969abc70
[TD]add blank space for legibility
2022-05-11 14:16:56 -04:00
wmayer
4b483807c7
Base: replace several reinterpret_cast
2022-05-11 20:01:40 +02:00
sliptonic
43f5e3278d
Merge pull request #6874 from JanneKro/master
...
#6871 Use the variable 'cam_file' instead of trying to read 'activeDocument'
2022-05-11 12:45:49 -05:00