Roy-043
5fd21f80da
TechDraw housekeeping: TechDraw_LandmarkDimension icon fix ( #5033 )
...
TechDraw housekeeping: TechDraw_LandmarkDimension icon fix
2021-09-16 18:42:11 -05:00
Ajinkya Dahale
e305dbd49c
PartDesign: Add new need active body dialog with option to choose body ( #4949 )
...
* [PD] Add new need active body dialog
Intended for use wherever an active body is needed but none exists. The dialog
contains a list with the bodies present in the document, with an extra option to
make a new body. Custom text can be provided if needed.
This commit also replaces the warnings used by "new sketch" and "primitive"
command with this new dialog.
Addresses issue #4288 .
2021-09-16 12:27:46 -05:00
Ajinkya Dahale
820e88f95b
[Core] (Partially?) Fix data loss on dir rename ( #4996 )
...
* Fix lost filename in err msg
In some circumstances, FileExceptions are constructed empty, then have a
filename assigned to them, but the error message in these scenarios is
left as the default "unknown" one, which is sometimes shown to users.
This change fixes that case to be consistent with instances that are
constructed with the filename.
The exception can happen when trying to save the file in a location that does
not exist, or when the user does not have permission to write there. If it
comes when saving after closing the document, all previous changes can be lost.
Partially fixes issue #4098 .
Co-authored-by: Heewa Barfchin <heewa.b@gmail.com >
2021-09-16 12:06:29 -05:00
wmayer
3ab5dadd82
Mesh: add function section() to Mesh class
2021-09-16 17:31:45 +02:00
wmayer
666f67f8d9
Part: support null shapes in boolean operations
2021-09-16 12:43:32 +02:00
Chris Hennes
d3567b9d90
Merge pull request #5031 from luzpaz/PD-typo
...
PartDesign: Fix typo in function getContiniusEdges->getContinuousEdges
2021-09-15 11:09:33 -05:00
wmayer
89e4f21008
MeshPart: show a more useful error message if the currently selected object cannot be tessellated
2021-09-15 17:09:54 +02:00
Roy-043
08aa7154c1
TechDraw: Changed "TechDraw_Dimension_Link" -> "TechDraw_LinkDimension" ( #5032 )
...
* Update and rename TechDraw_Dimension_Link.svg to TechDraw_LinkDimension.svg
Icon name should match the command name.
2021-09-15 10:08:09 -05:00
luz paz
7fb4dd37e4
PD: Fix typo in function getContiniusEdges->getContinuousEdges
...
Related to PR #5029
2021-09-15 10:11:37 -04:00
wmayer
9fe1f56824
PD: fix ProfileBased::Restore to not affect sub-classes that need to handle changed property types/names
2021-09-15 15:45:24 +02:00
wmayer
e273954135
PD: move handling of changed properties of Transformed to handleChangedPropertyType
2021-09-15 15:20:40 +02:00
wmayer
6176e815e8
PD: move handling of changed properties of the Chamfer/Fillet to handleChangedPropertyType
2021-09-15 15:14:14 +02:00
wmayer
62723f3dfd
Part: move handling of changed properties of the Primitive class to handleChangedPropertyName and handleChangedPropertyType
2021-09-15 14:45:50 +02:00
wmayer
4327cd5ccb
Mod: make sure to call the base class' handleChangedPropertyType
2021-09-15 14:07:32 +02:00
wmayer
33f3fa6865
Mesh: define the typenames FacetIndex and PointIndex to distinguish between facet and point related indexes
2021-09-14 23:01:29 +02:00
wmayer
ce285ea265
Mod: fix warning [-Wmacro-redefined]
2021-09-14 22:57:17 +02:00
wmayer
671032f506
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2021-09-14 16:42:43 +02:00
wmayer
046fcdc68c
Gui: fix compiler warnings: [-Wunused-parameter]
2021-09-14 16:42:30 +02:00
wmayer
40d2955c66
Base: split export/import macros from FCConfig.h and move them to FCGlobal.h
...
The FCGlobal.h can be included in a Global.h header file of an extension module.
The reason is that some IDEs (e.g. QtCreator) fails to detect the export/import macros when only defined in the PreCompiled.h files and thus raise a parser warning.
2021-09-14 16:40:30 +02:00
Chris Hennes
4ed05b1406
Merge pull request #4771 from Syres916/patch-16
...
[Gui] Preferences - Selection Fix Bug for new...
2021-09-14 09:39:49 -05:00
Chris Hennes
075f9cdc74
Merge pull request #4791 from heewa/fix-lost-err-msg
...
[Base] Fix lost filename in err msg
2021-09-14 09:23:03 -05:00
Yorik van Havre
381f835479
Merge pull request #5027 from 0penBrain/rotation
...
[Core] Rotation : fix gimbal lock handling
2021-09-14 14:49:38 +02:00
0penBrain
59a4a4c361
[Core] Rotation : fix gimbal lock handling
...
+ fix Euler representation on GUI
2021-09-13 18:34:58 +02:00
Yorik van Havre
455412ccc7
Tools: Updated crowdin script after PR #5021
2021-09-13 15:40:36 +02:00
Yorik van Havre
811004b6c8
Merge pull request #5021 from chennes/translatorImprovements
...
[GUI] Add prefs for translators
2021-09-13 15:38:23 +02:00
Yorik van Havre
c4dd6b3b02
Merge pull request #5020 from 0penBrain/placement
...
[Gui] Edit/Placement not active when no object selected
2021-09-13 14:30:04 +02:00
Yorik van Havre
e5c7bb6487
Merge pull request #5022 from Megidd/fix-infinite-loop
...
Mesh: Infinite loop when repairing mesh facet indices
2021-09-13 11:36:21 +02:00
Yorik van Havre
7e66ea855b
Merge pull request #5025 from luzpaz/DlgSettingsNavigation-code-naming-conformity
...
Gui: Make DlgSettingsNavigation methods conform to naming standard
2021-09-13 11:32:28 +02:00
Yorik van Havre
da918350c9
Merge pull request #5026 from luzpaz/Crowdin-Axonometric
...
Crowdin: Expose View -> 'Standard views' -> 'Axonometric' to translation
2021-09-13 11:11:34 +02:00
0penBrain
f560d5e810
[Gui] Edit/Placement not active when no object selected
...
Copied from 'Std_Edit'
2021-09-12 19:57:31 +02:00
luz paz
528790ddb8
Crowdin: Expose View -> 'Standard views' -> 'Axonometric' to translation
...
Closes https://github.com/FreeCAD/FreeCAD-translations/issues/63
2021-09-12 11:04:39 -04:00
luz paz
8ebd5c6eac
Gui: Make DlgSettingsNavigation methods conform to naming standard
...
Renamed `CheckBox_UseAutoRotation` to `checkBoxUseAutoRotation` to match the preexisting naming syntax
2021-09-12 10:54:40 -04:00
Megidd Git
c3df0db4f7
Mesh: fix infinite loop when repairing mesh facet indices
2021-09-12 09:13:57 +04:30
Chris Hennes
719fb95382
[GUI] Add prefs for translators
...
When creating the original list of locales available to FreeCAD, also
scan the external directories and add those entries to the list of
locales. This enables the installation of a language pack in an
already-installed version of FreeCAD, allowing translators to test their
work more easily.
Add a hidden preference that will allow translators to add an entirely new
language to FreeCAD via user preferences, without requiring modification
of the FreeCAD source code.
Add a hidden preference for an additional translation directory.
2021-09-11 15:34:08 -05:00
Yorik van Havre
582c26ea8b
Merge pull request #5019 from luzpaz/Gui-fix-korean-and-alphabetize
...
Gui: Language/Translator.cpp remove extra .ko translation + alphabetize
2021-09-10 10:16:13 +02:00
luz paz
a12385adb9
Gui: Language/Translator.cpp remove extra .ko translation + alphabetize
...
ref: https://forum.freecadweb.org/viewtopic.php?p=531658#p531658
2021-09-09 10:08:31 -04:00
Yorik van Havre
04eecd0c92
Merge pull request #4178 from uLeonis/master
...
[v0.20][Gui] Consolidate Std view modes
2021-09-09 12:22:27 +02:00
Yorik van Havre
8a526a9ba4
Merge pull request #4935 from edi271/TechDrawToolsEdi
...
[TD] added TechDrawTools Commands
2021-09-09 11:39:02 +02:00
Yorik van Havre
9fe0442729
Merge pull request #5018 from luzpaz/sketcher-cstring-fix
...
Sketcher: fix mislabeled .ui cstring tag
2021-09-09 11:37:39 +02:00
Yorik van Havre
7295c795d1
Merge pull request #5012 from luzpaz/pathjobgui-typo
...
Path: Fix PathScripts/PathJobGui.py typo bug
2021-09-09 11:36:26 +02:00
luz paz
391a9e8d23
Draft: whitespace tweak
2021-09-08 10:22:26 -04:00
luz paz
c03d4b1c10
Draft: fix comment typo
2021-09-08 10:22:26 -04:00
luz paz
6642e28826
Path: Fix PathScripts/PathJobGui.py typo bug
2021-09-08 10:22:26 -04:00
Yorik van Havre
48c1738a53
Merge pull request #5017 from chennes/renameWBTab
...
[GUI] Change name of workbenches tab
2021-09-08 16:21:56 +02:00
luz paz
e72da8babd
Sketcher: fix mislabeled .ui cstring tag
...
Closes https://github.com/FreeCAD/FreeCAD-translations/issues/59
Thanks @jakub-swierk for the patch!
2021-09-08 10:21:43 -04:00
Chris Hennes
50e4be1b90
[GUI] Change name of workbenches tab
2021-09-08 09:06:14 -05:00
Yorik van Havre
642836d58a
Merge pull request #5002 from AjinkyaDahale/fix-4732-self-int
...
[Mesh] Avoid false negatives during self-intersection checks
2021-09-08 12:31:30 +02:00
Yorik van Havre
67a603f094
Merge pull request #5016 from mwganson/techdraw
...
[TechDraw] prevent crash where user has duplicated page without depen…
2021-09-08 12:28:20 +02:00
mwganson
c4367add4a
[TechDraw] prevent crash where user has duplicated page without dependencies and then tries to remove a view from one of the pages by editing the Views property
2021-09-07 12:55:20 -05:00
Yorik van Havre
64775bf91f
Merge pull request #5007 from 0penBrain/DrawStyleMode
...
[Gui] Declare Std_DrawStyle as being a 'Mode' command
2021-09-07 12:48:29 +02:00