luz paz
54edb231bb
LGTM: Remove unnecessary deletion of local variables
...
Passing a local variable to a del statement results in that variable being removed from the local namespace. When exiting a function all local variables are deleted, so it is unnecessary to explicitly delete variables in such cases.
ref: https://lgtm.com/rules/1506104658325/
2022-05-05 23:03:36 +02:00
Kuzemko Alexsandr
25bbc31848
[Partdesign] Fix proposed by @0penBrain ( #32 )
...
*[PartDesign] Add Q_DECLARE_TR_FUNCTIONS to ViewProviderDatum.
*[PartDesign] Small fix for ViewProviderDatum::attach translation
2022-05-05 23:00:24 +02:00
Kuzemko Aleksandr
07f4267112
[PartDesign] Add individual QString for menu text which exposes text to translation
...
Closes https://github.com/FreeCAD/FreeCAD-translations/issues/125
2022-05-05 23:00:24 +02:00
Kuzemko Alexsandr
3e7ad90b7b
[Part] Part Measure Linear (tool) fix translation for "Selection xx" button.
...
* [PartDesign] Part Design Measure Linear (tool) fix translation for
"Selection xx" button.
* [Part] No need translate "Selection xx" string twice.
2022-05-05 22:51:18 +02:00
Benjamin Alterauge
b107498d49
Use python3 to run MakeMacBundleRelocatable.py ( #6784 )
...
* To use this script with python 3, fix the incompatible types text and bytes.
2022-05-05 22:47:48 +02:00
Zheng, Lei
8433a78807
Gui: fix crash on setup Link CopyOnChange objects
2022-05-05 11:37:38 -05:00
Zheng, Lei
15e1556f97
App: handle exception on change Link CopyOnChange
2022-05-05 11:37:38 -05:00
sliptonic
b97e141e01
Merge pull request #6796 from Russ4262/fix/3d_surface_opt_step_trans
...
Path: Fixes #6775 - Check for end of range
2022-05-05 09:55:52 -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
Yorik van Havre
c051711578
Tools: Favor the use of pylupdate5 over pyside2-lupdate in translation scripts (pyside2-lupdate doesn't encode properly).
2022-05-05 14:17:27 +02:00
Roy-043
72e91dbbca
Draft: Fix Draft_WorkingPlaneProxy ignores Auto Working Plane
2022-05-04 20:56:06 +02:00
wmayer
dc53e6dce1
App: fix restoring the attributes of a dynamic property
...
For more details see: https://forum.freecadweb.org/viewtopic.php?p=591465#p591465
2022-05-03 16:52:54 +02:00
wmayer
eebdaadb94
App: handle 'NoPersists' property type in PropertyContainerPy::getTypeOfProperty
2022-05-03 14:10:42 +02:00
wmayer
b160d9b7e0
Test: [skip ci] add unit tests for Prop_None and Prop_Output
2022-05-03 11:46:04 +02:00
wmayer
95123b3399
App: expose PropertyType enum to Python
2022-05-03 11:24:23 +02:00
Yorik van Havre
583916a2e5
Merge pull request #6820 from 0penBrain/startPage
...
[Bugfix] Prevent start page loading to fail if WB doesn't define an icon
2022-05-03 10:18:17 +02:00
Wanderer Fan
ccc8ac65c5
[TD]fix X,Y change propagation
...
- X,Y changes to object1 were not propagated to
object2 linked by expression
2022-05-02 17:51:51 -04:00
wmayer
afebe07514
Part: optimize hasShapesInSelection() by avoiding performing a possibly expensive transformation
...
See also: https://forum.freecadweb.org/viewtopic.php?p=592445#p592445
2022-05-02 17:19:49 +02:00
sliptonic
ea5f3eb68e
Merge pull request #6813 from Russ4262/fix/rrf_post
...
Path: Add missing post-processor modules [bug]
2022-05-02 09:16:36 -05:00
0penBrain
6ab0ba073d
[Bugfix] Prevent start page loading to fail if WB doesn't define an icon
2022-05-02 14:30:24 +02:00
Yorik van Havre
e8c8c335d4
Merge pull request #6814 from Roy-043/Draft-fix-2-gui_groups-translation-issues
...
Draft: fix 2 gui_groups.py translation issues
2022-05-02 14:06:55 +02:00
wmayer
2a559df2cd
Gui: [skip ci] a couple of IDEs or editors struggle with the degree symbol in the comment, replace it with 'deg'
2022-05-02 13:17:50 +02:00
wmayer
254a1c5645
Gui: issue #6306 was fixed with be2ddb37a6 but this doesn't work on high DPI monitors.
...
This commit fixes that now
2022-05-02 12:54:07 +02:00
luz paz
21d0e10367
Mesh: fix grammatical issue in console message string
...
[skip ci]
2022-05-01 23:19:40 +02:00
Przemo Firszt
fb60c863ba
[COPR] Remove CONTRIBUTORS file
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2022-05-01 11:25:54 +01:00
Ajinkya Dahale
40083d2b85
[FEM] Expand Add/Remove buttons in constraint tasks
...
Minor UI improvement. The behavior had changed when the buttons were changed
from `QPushButton` to `QToolButton` in c558fc7195 .
2022-05-01 12:01:31 +03:00
Roy-043
868b5f1a1c
Draft: fix 2 gui_groups.py translation issues
2022-04-30 21:40:34 +02:00
Russell Johnson
a27836d82d
Path: Exclude dumper and example posts
...
Do not ship these two. They are intended for devs working with source code.
2022-04-30 13:55:44 -05:00
Russell Johnson
62851568fa
Path: Add missing post-processor modules
...
Add entries for missing post-processor modules so they are shipped with FreeCAD.
2022-04-30 07:55:55 -05:00
wmayer
d2253c7be4
Part: in TopoShape::transformGeometry convert OCC exception into Base exception
...
The conversion is needed because TopoShape::transformGeometry reimplements ComplexGeoData::transformGeometry and is called in the core system
2022-04-29 15:37:44 +02:00
wmayer
b22424ee9b
Part: handle exception of makeGTransform in _makeTransform
2022-04-29 15:15:51 +02:00
wmayer
cb7d7d27a2
Part: adjust TopoShape::transformGShape() to reduce code duplication of TopoShape::makeGTransform
...
Revert changes of a96d356afb as otherwise there is no way to handle a failure in client code
2022-04-29 14:57:05 +02:00
wmayer
cd65de7e44
Base: fix conversion from Placement to Matrix
...
See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=61000
2022-04-29 13:45:50 +02:00
Roy-043
a222bc6782
Draft: Fix Draft_Snap_Intersection for self-intersecting objects
2022-04-29 14:20:15 +03:00
wmayer
5ed2850a03
FEM: work around a crash with vtk9 on export of a vtkUnstructuredGrid
2022-04-28 23:14:51 +02:00
wmayer
8427d446e0
Base: fix a possible naming clash with 'timezone' with Py3.6 on Windows
2022-04-28 16:05:30 +02:00
wmayer
126d205cf4
Tools: [skip ci] fix linking error of plugin with MSVC
2022-04-28 14:46:55 +02:00
wmayer
0d0bd1168b
Mesh: handle exceptions when running FreeCAD in headless mode
2022-04-28 12:58:58 +02:00
wmayer
a96d356afb
Part: handle OCC exception inside TopoShape::makeGTransform
...
For more details about the problems an unhandled exception will cause see: https://forum.freecadweb.org/viewtopic.php?f=3&t=61000
2022-04-27 18:39:55 +02:00
Chris Hennes
4f9eb9ebce
Gui: Compile CONTRIBUTORS into Qt resources
2022-04-27 10:25:53 -05:00
Chris Hennes
f8f3ba7a04
Gui: Fix Stereo view disabling
...
Fixes #6799 .
2022-04-26 22:31:34 -05:00
Chris Hennes
cb1093ef30
Git: Add line ending fix to blame ignore revs file
2022-04-26 13:06:26 -05:00
Zheng, Lei
3ef438eaf0
Fix mixed line endings
2022-04-26 12:52:55 -05:00
sliptonic
2753dd4ca7
Merge pull request #6795 from LarryWoestman/master
...
Path: Added a missing "continue" to PathPost.py.
2022-04-26 09:20:02 -05:00
marioalexis
1ba78b7e72
Part: Use regex to match names in ViewProviderPartExt::getDetail
2022-04-26 11:58:45 +02:00
Chris Hennes
e634921a4c
Addon Manager: Fetch allowed py packages from Github repo
2022-04-26 00:23:50 -05:00
Russell Johnson
5321edca3c
Path: Fixes #6775 - Check for end of range
...
Change transition target point to last point at Safe Height if no more parts are available for processing.
2022-04-25 21:50:10 -05:00
LarryWoestman
68d9afa58e
Added a missing "continue".
2022-04-25 19:25:03 -07:00
sliptonic
53cc222255
Merge pull request #6789 from Russ4262/fix/initgui_translation
...
Path: Update translated message syntax - InitGui module
2022-04-25 18:54:51 -05:00