wmayer
4354e41018
Mesh: [skip ci] fixes #6598 : read unitialized variables
2022-03-21 01:27:07 +01:00
Uwe
d5604e0e89
[FEM] remove Python.h and Xerces
2022-03-21 01:22:59 +01:00
Ajinkya Dahale
300fbc22ea
[FEM] Refactor TaskFemConstraintOnBoundary ( #6615 )
...
* Now the behavior is consistent with behavior of PD fillets, for example.
See https://forum.freecadweb.org/viewtopic.php?f=18&t=67135#p580192 . In the
future it may be possible to reuse some code from there.
* When the last selected item is removed we need to reset the existing
highlighting separately.
* Use `Gui::ButtonGroup` in `TaskFemConstraintOnBoundary`
2022-03-21 01:02:10 +01:00
Uwe
d6a9a941ac
[Cloud] remove some includes and sorting
2022-03-21 00:13:22 +01:00
Uwe
98e1a6bae4
[Cam] remove Python.h and Xerces
2022-03-20 23:39:43 +01:00
Uwe
1c3ae6cd83
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2022-03-20 23:01:12 +01:00
Uwe
bfbda2e58f
[Image] add missing header
2022-03-20 23:01:01 +01:00
wmayer
cf7fd5d2ac
lgtm: removes unused imports in Python scripts
2022-03-20 23:00:55 +01:00
Uwe
bec723ba17
[Points] remove Python.h and Xerces
2022-03-20 22:55:16 +01:00
Uwe
08d4ac63a3
[Raytracing] remove Python.h and Xerces
2022-03-20 22:53:01 +01:00
Uwe
5ca787cb0e
[RE] remove Python.h and Xerces
2022-03-20 22:49:38 +01:00
Uwe
6b04215be6
[Surface] remove Python.h and Xerces
2022-03-20 22:46:47 +01:00
Uwe
ea5b45b92c
[Test] remove Xerces
2022-03-20 22:45:52 +01:00
Uwe
b480826091
[Test] remove Python.h
2022-03-20 22:42:09 +01:00
Uwe
bad4809a1c
[Robot] remove Python.h and Xerces
2022-03-20 22:37:38 +01:00
Uwe
96ad045b91
[Drawing] remove Python.h and Xerces
2022-03-20 22:34:03 +01:00
Uwe
c9d28b542f
[Import] remove unused includes and Xerces
2022-03-20 22:19:08 +01:00
Uwe
d41f55f382
[Inspection] remove unused headers and Xerces
...
- also sort our some includes to PreCompiled.h
2022-03-20 22:17:34 +01:00
Uwe
dde71a21d5
[Image] remove unused headers and Xerces
2022-03-20 22:16:19 +01:00
wmayer
42d48103e8
Tools: lgtm: removes unused imports in Python scripts
2022-03-20 21:41:30 +01:00
Uwe
c9dee5e70a
[Start] remove unused headers and Xerces
2022-03-20 21:36:16 +01:00
Markus Lampert
d52fc71663
Blanket black formatting for Path python files
2022-03-20 13:23:48 -07:00
Markus Lampert
efc942a8f6
Fixed read-only state of quantity spin box when expression is 'clear'ed
2022-03-20 13:23:48 -07:00
markus
a23b610f41
Fixed setting a face's normal as the axis for model alignment
2022-03-20 13:23:48 -07:00
Uwe
ee6d631531
[Web] remove unused headers and Xerces
2022-03-20 21:16:27 +01:00
Uwe
66e8a2bef3
[Spreadsheet] remove Python.h and Xerces
2022-03-20 20:44:17 +01:00
Uwe
b037d8e240
[PD] remove unused Xerces
2022-03-20 20:43:02 +01:00
Russell Johnson
95cffaf502
Path: Simplify changes per developer conversations
...
Also update TestPathDepthParams.py to reflect simplification of changes.
Remove some comments.
Employ `sorted()` function per MLampert suggestion
2022-03-20 14:25:17 -05:00
sliptonic
afb3262118
simpler way to filter roughly equal depth values
2022-03-20 14:25:16 -05:00
Russell Johnson
186042b2cf
Path: Renumber unit tests per triple-digit schema
...
per request of Sliptonic
2022-03-20 14:25:15 -05:00
Russell Johnson
ee6d9fb5e0
Path: Add additional roughly-equal depths unit tests
2022-03-20 14:25:15 -05:00
Russell Johnson
3e6d542cd7
Path: Fix roughly equal depth entries
...
Add code block to remove first of any two consecutive, roughly equal depth values (twin values).
Add two unit tests to support new code block and use cases.
2022-03-20 14:25:14 -05:00
Uwe
fe213a48f0
[Part] remove unused Xerces
2022-03-20 19:37:20 +01:00
wmayer
21404f319b
Path: fix assignment operator of CLine
...
* Assignment operator in class CLine should have return type CLine&. Otherwise a copy is created at each call.
2022-03-20 19:32:32 +01:00
wmayer
8b72d595d6
Mesh: [skip ci] remove superfluous semicolon
2022-03-20 19:31:35 +01:00
Uwe
ee0b9be87c
[Measure] remove unused file
2022-03-20 19:26:22 +01:00
luz paz
1db77d367c
AddonManager: remove superfluous 'pass' per LGTM
...
ref: https://lgtm.com/rules/910088/
2022-03-20 14:21:57 -04:00
Daniel Wood
deea933a23
[Material] evaluate the number of columns correctly when rebuilding the FCMats ( #5910 )
...
* evaluate the number of columns correctly.
* simplify awk command
2022-03-20 19:20:29 +01:00
Uwe
24176431fb
[Inspection] remove Python.h from headers
...
is not necessary anymore
2022-03-20 18:09:46 +01:00
Uwe
ccc5198815
[Measure] remove unused includes
2022-03-20 17:56:00 +01:00
Uwe
00ffc38850
[Measure] remove Python.h from headers
...
is not necessary anymore
2022-03-20 17:41:04 +01:00
wmayer
c9a0fae9db
lgtm: [skip ci] FIXME comment
...
Change FIXME or remove it
2022-03-20 16:51:23 +01:00
wmayer
702222b5a2
App: [skip ci] lgtm: Declaration hides parameter
...
Local variable 'obj' hides a parameter of the same name.
2022-03-20 16:46:16 +01:00
wmayer
32e9984751
App: [skip ci] lgtm: Large object passed by value
...
This parameter of type pair<const basic_string<char, char_traits<char>, allocator<char>>, Metadata> is 672 bytes - consider passing a const pointer/reference instead.
2022-03-20 16:42:48 +01:00
sliptonic
166e4a3e1e
Merge pull request #6616 from FreeCAD/Path/LGTM-pas
...
Path: remove superfluous 'pass' per LGTM
2022-03-20 10:41:40 -05:00
wmayer
27a2646415
Base: [skip ci] lgtm: Inconsistent definition of copy constructor and assignment ('Rule of Two')
2022-03-20 16:30:14 +01:00
wmayer
cb81addfa1
Mesh: [skip ci] lgtm: Multiplication result converted to larger type
...
Multiplication result may overflow 'float' before it is converted to 'double'.
2022-03-20 15:53:04 +01:00
Matthijs Kooijman
f06fc0163e
Arch: When inverting hinge position, keep opening direction
...
Previously, just the hinge position was changed, with the rotation
direction kept unchanged, which would make the door open towards the
other side of the wall. This also inverts the rotation direction, so the
door still opens toward the same side of the wall, which is more
intuitively what you would expect.
2022-03-20 14:46:13 +01:00
Matthijs Kooijman
f49b38a595
Draft: Fix incorrect use of in operator
...
Looking at the surrounding code, this should be `==` rather than `in`.
The code does work as intended, because a string is always a substring
of itself, but better to fix it anyway.
Seems this was broken since this code was first introduced in commit
94b0fe1599 (Draft: clean up ViewProviderLabel class)
2022-03-20 14:45:52 +01:00
Uwe
8f894ebefe
[Part] remove Python.h from headers
...
seems not to be necessary anymore
2022-03-20 14:16:55 +01:00